UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#120880#95. cycleEdenHazard1001749ms10632kbC++111.0kb2020-10-27 13:39:362020-10-27 13:39:38

answer


Details

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 0ms
memory: 9040kb

input:

50 760
33 17 -548407 -167520
43 34 -701513 -760054
44 46 -698238 -697504
17 35 -473206 -17431
24 13 ...

output:

6

result:

ok single line: '6'

Test #2:

score: 10
Accepted
time: 0ms
memory: 9020kb

input:

50 23
9 26 88 -971968
13 21 -119037 -633102
28 23 -486087 -443177
21 10 20 -560419
9 35 -962231 -857...

output:

0

result:

ok single line: '0'

Test #3:

score: 10
Accepted
time: 12ms
memory: 9336kb

input:

100 829
16 68 -169807 -418570
59 90 -285181 -523034
76 30 68 -822178
10 1 -600250 -98762
63 75 -7427...

output:

6

result:

ok single line: '6'

Test #4:

score: 10
Accepted
time: 0ms
memory: 8828kb

input:

7 21
1 2 -91 -94
1 3 4 -96
1 4 -98 -100
1 5 -91 -98
1 6 -97 -29
1 7 -98 -91
2 3 -99 -98
2 4 6 -90
2 ...

output:

7

result:

ok single line: '7'

Test #5:

score: 10
Accepted
time: 18ms
memory: 9332kb

input:

100 4481
32 95 -499665 -546421
2 37 -717568 -488401
65 46 -731695 97
18 70 -623180 -889223
66 76 -66...

output:

3

result:

ok single line: '3'

Test #6:

score: 10
Accepted
time: 336ms
memory: 10628kb

input:

300 44603
194 10 -185995 -228575
88 112 -373810 -140242
127 198 -269962 -767418
202 116 -831356 -381...

output:

3

result:

ok single line: '3'

Test #7:

score: 10
Accepted
time: 329ms
memory: 10616kb

input:

300 759
240 232 1 -188898
150 151 -620634 -346228
52 42 -648311 -981185
141 3 -136275 -326941
165 17...

output:

0

result:

ok single line: '0'

Test #8:

score: 10
Accepted
time: 337ms
memory: 10632kb

input:

300 40148
251 131 -929677 -822098
61 32 -503888 -216163
294 75 -516984 -536981
39 58 3 -816887
251 5...

output:

3

result:

ok single line: '3'

Test #9:

score: 10
Accepted
time: 360ms
memory: 10628kb

input:

300 26880
229 288 -429005 -318473
212 99 -700324 -697321
260 58 -427033 -917434
269 44 -403330 -3139...

output:

3

result:

ok single line: '3'

Test #10:

score: 10
Accepted
time: 357ms
memory: 10628kb

input:

300 15511
189 295 -441963 -96683
141 9 -871841 -255420
37 155 -40656 -817740
60 182 -146664 -801258
...

output:

3

result:

ok single line: '3'