QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#440148#4378. Ballucup-team3690AC ✓1252ms27832kbC++171.1kb2024-06-13 10:21:102024-06-13 10:21:10

详细

Test #1:

score: 100
Accepted
time: 1252ms
memory: 27832kb

input:

10
2000 80
9 25
39 66
5 63
59 17
45 19
41 21
21 75
21 61
1 65
29 61
11 23
38 51
1 3
41 59
41 61
61 33
45 65
80 49
38 49
45 79
66 60
61 41
56 33
65 57
26 17
36 1
77 11
13 28
25 41
33 23
66 16
4 73
1 1
57 61
32 11
31 29
42 21
37 69
53 59
1 66
54 70
21 57
65 49
49 18
6 5
11 1
1 67
78 49
43 30
27 1
57 7...

output:

306097111
113711265
112644014
306052056
111920257
112598067
290930159
115277403
112743440
307026778

result:

ok 10 lines