My program seems to be runing OK but I get WA, can someone post some cases?
1 2 1 4 4 2 2 7 7 1 0 0
1 100 100 2 2 99 99 3 3 98 98 4 4 97 97 5 5 96 96 6 6 95 95 7 7 94 94 8 8 93 93 9 9 92 92 10 10 91 91 11 11 90 90 12 12 89 89 13 13 88 88 14 14 87 87 15 15 86 86 16 16 85 85 17 17 84 84 18 18 83 83 ...
Search found 2 matches
- Sun Nov 15, 2009 9:44 pm
- Forum: Volume 8 (800-899)
- Topic: 821 - Page Hopping
- Replies: 5
- Views: 6639
- Wed Nov 11, 2009 7:11 pm
- Forum: Volume 7 (700-799)
- Topic: 725 - Division
- Replies: 49
- Views: 31901
Re: 725 - Division
I can't see what is wrong in my code, I keep getting WA. Can someone post some cases? Here are some of mine:
Input:
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64 ...
Input:
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64 ...