Time limit
1000 ms
Memory limit
30000 kB
OS
Linux
Source
Descriptions:

Red and Black

POJ - 1979