QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#824156#9771. Guessing Gameucup-team4125#WA 310ms96480kbC++173.4kb2024-12-21 12:42:152024-12-21 12:42:19

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 40712kb

input:

4
1 1
1 2
2 1
2 2

output:

1 0
0 2
1 2
0 0

result:

ok 8 numbers

Test #2:

score: 0
Accepted
time: 139ms
memory: 81320kb

input:

250000
49324 49323
44443 44445
92513 92513
69591 69591
52085 52082
95024 95025
21004 21005
34373 34371
60771 60772
17131 17134
34885 34882
6011 6015
56103 56105
21055 21054
71592 71593
14894 14895
25774 25771
96225 96224
16444 16442
48432 48432
86954 86952
7202 7202
38661 38665
20063 20063
85383 853...

output:

1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0
10 0
11 0
12 0
13 0
14 0
15 0
16 0
17 0
18 0
19 0
20 0
21 0
22 0
23 0
24 0
25 0
26 0
27 0
28 0
29 0
30 0
31 0
32 0
33 0
34 0
35 0
36 0
37 0
38 0
39 0
40 0
41 0
42 0
43 0
44 0
45 0
46 0
47 0
48 0
49 0
50 0
51 0
52 0
53 0
54 0
55 0
56 0
57 0
58 0
59 0
60 0
61 0
62 0...

result:

ok 500000 numbers

Test #3:

score: 0
Accepted
time: 245ms
memory: 96480kb

input:

500000
94699 94691
39066 39061
70924 70923
55402 55402
88622 88624
207 205
90609 90603
45892 45892
78872 78873
2321 2323
44788 44785
45517 45515
46316 46315
31599 31594
75478 75473
54876 54872
68947 68941
56371 56375
95794 95791
52971 52975
9094 9095
38174 38174
72230 72221
75527 75523
45981 45984
2...

output:

1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0
10 0
11 0
12 0
13 0
14 0
15 0
16 0
17 0
18 0
19 0
20 0
21 0
22 0
23 0
24 0
25 0
26 0
27 0
28 0
29 0
30 0
31 0
32 0
33 0
34 0
35 0
36 0
37 0
38 0
39 0
40 0
41 0
42 0
43 0
44 0
45 0
46 0
47 0
48 0
49 0
50 0
51 0
52 0
53 0
54 0
55 0
56 0
57 0
58 0
59 0
60 0
61 0
62 0...

result:

ok 1000000 numbers

Test #4:

score: -100
Wrong Answer
time: 310ms
memory: 88908kb

input:

500000
24924 24924
68134 68136
60184 60190
30242 30246
4652 4654
41325 41326
51273 51277
14181 14190
52941 52947
12605 12602
62014 62013
25274 25272
28923 28926
22913 22918
82081 82081
84712 84715
13824 13828
39794 39798
4625 4630
69325 69325
87294 87297
56584 56586
16534 16536
47811 47817
71493 714...

output:

1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0
10 0
11 0
12 0
13 0
14 0
15 0
16 0
17 0
18 0
19 0
20 0
21 0
22 0
23 0
24 0
25 0
26 0
27 0
28 0
29 0
30 0
31 0
32 0
33 0
34 0
35 0
36 0
37 0
38 0
39 0
40 0
41 0
42 0
43 0
44 0
45 0
46 0
47 0
48 0
49 0
50 0
51 0
52 0
53 0
54 0
55 0
56 0
57 0
58 0
59 0
60 0
61 0
62 0...

result:

wrong answer 202192nd numbers differ - expected: '45020', found: '45019'