QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#141833#6997. Fighting Against MonsterssdoiAC ✓162ms4476kbC++231.3kb2023-08-18 02:44:132023-08-18 02:44:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3624kb

input:

2
3
1 1
2 2
3 3
3
3 1
2 2
1 3

output:

Case #1: 19
Case #2: 14

result:

ok 6 tokens

Test #2:

score: 0
Accepted
time: 162ms
memory: 4476kb

input:

1000
3
3 7
8 4
6 7
7
7 3
3 6
3 5
4 12
3 12
12 12
7 9
2
9 8
3 8
7
11 4
1 15
12 8
3 15
9 12
14 16
2 12
8
18 2
8 5
3 9
16 11
10 10
13 18
14 15
3 7
8
1 10
1 16
16 10
11 19
9 19
12 7
10 17
19 10
3
9 18
18 15
8 12
9
14 10
20 4
13 9
7 18
13 11
10 17
2 15
5 14
14 13
5
17 24
5 15
8 1
3 16
3 5
9
7 18
25 22
4 ...

output:

Case #1: 85
Case #2: 567
Case #3: 64
Case #4: 696
Case #5: 1069
Case #6: 1309
Case #7: 378
Case #8: 1703
Case #9: 453
Case #10: 2321
Case #11: 216
Case #12: 803
Case #13: 4631
Case #14: 832
Case #15: 1253
Case #16: 54
Case #17: 1628
Case #18: 711
Case #19: 2514
Case #20: 3498
Case #21: 4
Case #22: 2...

result:

ok 3000 tokens