10TH LATVIAN OLYMPIAD IN INFORMATICS
2ND STAGE TESTS AND CORRECT ANSWERS

1. "WONDERFUL FOURS"
 

Tests Answers
1 2 1 5 0 2
9 6 2 1 0 310
4 1 4 0 9 1
1 2 3 5 6 0
1 1 3 5 8 101
4 3 2 8 1 478
6 5 4 2 1 504
7 9 7 1 3 8
6 4 1 7 9 237
7 2 2 2 5 7

2. "JOURNEY OF A KNIGHT"
 

Tests Answers
3 3 2 2 NEVAR
15 79 13 47 24
100 100 100 100 66
100 3 100 3 51
4 3 4 1 5
38 96 33 90 45
31 29 23 17 14
99 88 77 66 47
2 100 1 100 NEVAR
100 2 99 2 49

3. "BILLIARDS"
 

Tests Answers
1 1 13.421 29.907
40 46 45.884 0.713
58 100 40.094 62.251
36 444 27.929 35.500
73 7301 13.710 35.212
17 141516 35.444 51.513
64 778899 25.140 15.393
0 88888888 21.445 62.146
23 123456789 14.847 67.994
29 999999999 0.000 29.000

To problems

Home