Problems
 
 
# Name    
A
standard input/output
1 s, 64 MB
Submit  x333
B
standard input/output
1 s, 64 MB
Submit  x288
C
standard input/output
2 s, 256 MB
Submit  x138
D
standard input/output
1 s, 64 MB
Submit  x64
E
standard input/output
4 s, 256 MB
Submit  x14
Complete problemset
 
 
 
 
Questions about problems
 
 
# Author Problem When Question Answer
A Mar 20, 2010 7:48:48 PM Is it true that every (including the last) line in the input file ends with end-of-the-line character? Yes, each line including the last ends with \r\n
A Mar 20, 2010 7:47:58 PM How can I understand that input is ended? Each line of the input ends with end-of-line sequence (\r\n). So if you are using C++ you can try

while (getline(cin, s)) ...