QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#89703#5249. BanditsShmilyTYWA 1231ms116264kbC++232.9kb2023-03-20 22:47:412023-03-20 22:49:52

詳細信息

Test #1:

score: 0
Wrong Answer
time: 1231ms
memory: 116264kb

input:

100000
2670 75097 4080
87477 75802 1712
51835 36626 2883
19412 25923 5852
23976 19312 2520
82536 19514 2492
27160 66601 4483
99087 15088 3504
47050 58820 2964
37063 5696 9901
7717 1496 4891
79136 5448 4340
22575 81285 9289
96280 3803 9877
41980 32139 2855
44236 64938 3298
5983 99947 9666
95856 62545...

output:

0
0
0
4
4
10
4
4
6
6
8
12
14
16
22
18
28
24
24
18
20
18
18
16
16
20
20
16
28
20
26
24
26
28
20
36
30
24
28
22
26
38
28
36
40
42
38
30
42
38
44
54
40
50
58
56
76
50
78
82
64
60
90
70
92
90
82
94
76
92
82
98
74
90
102
96
94
112
96
104
114
106
138
124
144
138
112
120
126
112
130
134
162
138
140
158
142...

result:

wrong answer 4th lines differ - expected: '2', found: '4'