How does the line imply?(below) How tto iinout susuch way? Is it by using EOF? how? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How does the line imply?(below) How tto iinout susuch way? Is it by using EOF? how?

"first line of the input is an integer t (t<15) which denotes how many sets of inputs are there. Each of the next t lines contain two integers a and b(|a|,|b|<1000000001)"

14th Mar 2018, 12:02 PM
Tincture
1 Answer
+ 1
cin >> t; for (int i=0; i<t; i++){ cin >> a >> b; dosomething(); }
16th Mar 2018, 2:29 PM
michal