QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#60384#4206. Event HoppingHuangHanSheng0 200ms37016kbC++141.3kb2022-11-04 10:38:092022-11-04 10:38:10

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 152ms
memory: 24724kb

input:

100000 100000
825913690 825916363
333322014 333324481
302015784 302018251
841002775 841005448
810249910 810252583
803554045 803556718
379590599 379593066
413477311 413479778
304105333 304107800
856802878 856805551
355907399 355909866
365590374 365592841
813775597 813778270
816058339 816061012
383873...

output:

1
impossible
1
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
16274
impossible
impossible
impossible
impossible
impossible
impossible
impossible
17890
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossibl...

result:

wrong answer 7th lines differ - expected: '31336', found: 'impossible'

Subtask #2:

score: 0
Wrong Answer

Test #13:

score: 10
Accepted
time: 3ms
memory: 3896kb

input:

1000 100
67878298 387720407
270457472 922959000
286470357 618323410
260791474 282940414
301337446 553875076
478221503 724555102
380447228 437131400
191801427 465825895
366088873 431222136
49483883 103442781
699926238 720636919
253150351 291688158
411085513 727726933
444078045 496386017
420626857 822...

output:

1
2
2
impossible
1
2
1
2
impossible
2
2
impossible
impossible
impossible
1
impossible
impossible
impossible
impossible
impossible
2
impossible
2
impossible
1
1
impossible
1
1
1
1
impossible
2
impossible
2
impossible
1
1
impossible
impossible
impossible
1
2
impossible
impossible
1
2
impossible
imposs...

result:

ok 100 lines

Test #14:

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

input:

1000 100
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 1000000000
1 100...

output:

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

result:

ok 100 lines

Test #15:

score: -10
Wrong Answer
time: 3ms
memory: 3692kb

input:

1000 100
219652137 219887840
411750082 411985785
295784206 296019909
323361457 323597160
263257192 263492895
228373148 228608851
311812010 312047713
189246450 189482153
197024649 197260352
214230968 214466671
209045502 209281205
282113432 282349135
277870778 278106481
394308060 394543763
318175991 3...

output:

impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
imp...

result:

wrong answer 1st lines differ - expected: '999', found: 'impossible'

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Skipped

Dependency #2:

0%

Subtask #5:

score: 0
Wrong Answer

Test #35:

score: 0
Wrong Answer
time: 200ms
memory: 37016kb

input:

100000 100000
903318459 905410836
903528407 905653109
925180437 927048927
473524826 475597377
362562616 364539688
644980844 646918450
242583398 244653279
506338025 508361063
481496693 483530832
970053326 972147109
794840350 796900045
130664210 132709680
634100524 636336820
844429264 846504591
652483...

output:

impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
impossible
imp...

result:

wrong answer 1st lines differ - expected: '500', found: 'impossible'

Subtask #6:

score: 0
Skipped

Dependency #1:

0%