|  | 
|  | 
| вернуться в форум | Very strange behavior The first time I had submitted my solution I got WA 1After I changed the main line where first number and symbol are read from
 while (scanf("%d %s", &time, &s) != EOF)
 to:
 while (cin >> time >> s)
 
 I got AC. What's the difference?
 | 
 | 
|