QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#42065#169. Donut DecorationMaMengQiWA 4ms6972kbC++2.1kb2022-08-01 16:01:552022-08-01 16:01:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 6972kb

input:

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

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 3ms
memory: 6772kb

input:

5 3
6
2 3 1
1 3 2
4 5 1
2 4 3
3 5 2
5 5 3

output:

2

result:

ok single line: '2'

Test #3:

score: 0
Accepted
time: 1ms
memory: 6904kb

input:

10 1
2
2 9 1
5 7 1

output:

5

result:

ok single line: '5'

Test #4:

score: -100
Wrong Answer
time: 0ms
memory: 6816kb

input:

100 335
500
6 99 1
6 96 2
3 49 327
3 67 3
14 93 4
22 55 5
56 98 5
3 71 6
4 49 49
5 11 59
19 76 7
29 100 8
19 98 9
47 86 10
57 80 11
38 50 37
4 36 229
17 56 11
12 74 12
10 96 13
22 39 181
27 36 279
4 97 14
46 62 15
75 89 23
86 89 168
51 61 16
63 75 15
62 99 16
18 64 17
36 82 18
58 94 19
28 52 75
14 4...

output:

0

result:

wrong answer 1st lines differ - expected: '6', found: '0'