cudak

Subtask 1 (30%): 1 ≤ A ≤ B ≤ 1000000

Subtask 2 (40%): A and B will be in the form A = 10K, B = 10K+1-1, where 0 ≤ K ≤ 14. (Eg: A = 100, B = 999)

Subtask 3 (30%): No further restrictions.

Subtask 4 (0%): Sample Testcases

Do note that for correctly outputting one of the two numbers you will receive 50% of the score.


Time Limit: 1 Seconds
Memory Limit: 256MB
Your best score: 0
Source: COCI 2007/2008

Subtask Score
1 30
2 40
3 30
4 0