QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505445#5842. Bacteriaxiaowuc131 ✓2899ms46520kbC++172.4kb2024-08-05 05:24:112024-08-05 05:24:14

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 6
Accepted

Test #1:

score: 6
Accepted
time: 235ms
memory: 9916kb

input:

100
10
10 36 25 73
12 26 49 63
9 11 23 75
26 73 61 80
61 26 83 81
10 49 44 70
38 4 42 99
40 76 53 81
41 37 62 37
37 23 74 42
10
16 4 16 99
24 4 34 90
21 12 49 35
4 17 13 97
49 8 66 93
62 4 67 99
65 17 70 82
38 61 58 81
5 53 38 86
58 2 60 66
10
86 4 95 99
53 7 90 43
44 70 82 76
35 61 47 62
15 46 20 6...

output:

Case #1: 163
Case #2: 150
Case #3: 169
Case #4: 137
Case #5: 169
Case #6: 148
Case #7: 145
Case #8: 119
Case #9: 139
Case #10: 177
Case #11: 6
Case #12: 140
Case #13: 144
Case #14: 146
Case #15: 100
Case #16: 194
Case #17: 156
Case #18: 147
Case #19: 154
Case #20: 159
Case #21: 131
Case #22: 174
Cas...

result:

ok 100 lines

Subtask #2:

score: 25
Accepted

Test #2:

score: 25
Accepted
time: 2899ms
memory: 46520kb

input:

100
10
61 58 94 99
35 35 68 68
69 62 87 88
31 21 62 27
27 44 28 87
30 1 41 96
51 3 59 98
4 4 12 99
30 35 66 66
45 1 55 96
10
61 13 82 75
34 33 66 55
38 65 49 75
52 19 68 78
81 2 90 97
68 47 89 97
72 4 81 37
26 82 40 82
24 38 61 48
31 57 63 93
10
64 79 80 95
67 85 99 85
58 2 61 97
42 38 69 43
30 36 6...

output:

Case #1: 163
Case #2: 126
Case #3: 153
Case #4: 2698
Case #5: 156
Case #6: 187
Case #7: 152
Case #8: 113
Case #9: 37
Case #10: 140
Case #11: 147
Case #12: 29561
Case #13: 980
Case #14: 6
Case #15: 186
Case #16: 180
Case #17: 999961
Case #18: 168
Case #19: 149
Case #20: 164
Case #21: 183
Case #22: 13...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed