Problem E
Bu-Ali Sina U / Moosh Koor! · 2014-10-17 12:32:14
in this problem there is no test case number in input ! so how can i find out where is the end of my input ?
RinoOo · 2014-10-17 18:01:29
You should write while(cin>> n>>m){} or while(scanf("%i%i", &n, &m) != EOF){} and write rest of your code inside the {}.
Bu-Ali Sina U / Moosh Koor! · 2014-10-17 19:17:00
ok got it ... thanks !
pages:
- 1