QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#513936#9172. Alternating Cycleucup-team4507#WA 2ms3896kbC++202.0kb2024-08-10 20:49:322024-08-10 20:49:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6
10 15
20 15
15 23
0 31
15 0
30 30

output:

6
0 31
10 15
15 0
20 15
30 30
15 23

result:

ok Everything ok

Test #2:

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

input:

4
0 0
0 1
1 0
1 1

output:

-1

result:

ok Everything ok

Test #3:

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

input:

9
693150551 810053304
26684055 999173154
767007508 725151476
697948407 601311897
593914132 156628727
294286621 249587903
361249906 42266067
110658137 698550461
923704821 886066345

output:

6
361249906 42266067
294286621 249587903
26684055 999173154
693150551 810053304
923704821 886066345
697948407 601311897

result:

ok Everything ok

Test #4:

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

input:

9
870407732 947373192
362190573 311657719
792350850 916217578
908809410 529664178
147184624 105531482
800863654 27569449
290489622 819212758
64484618 355712627
474856219 425123887

output:

6
290489622 819212758
800863654 27569449
362190573 311657719
64484618 355712627
870407732 947373192
792350850 916217578

result:

ok Everything ok

Test #5:

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

input:

9
47664912 379660370
66293309 34207701
186290410 443720168
456106901 458016459
995422410 349401528
602407977 731922069
588325559 932595937
608245683 644278574
657411398 627744942

output:

6
602407977 731922069
657411398 627744942
186290410 443720168
47664912 379660370
608245683 644278574
588325559 932595937

result:

ok Everything ok

Test #6:

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

input:

9
224922093 516980257
696767119 51724974
580229972 266190050
593338977 91401448
843660194 888238866
108985009 509903616
591194203 709542627
225635675 932844521
618628214 461769776

output:

6
591194203 709542627
696767119 51724974
580229972 266190050
108985009 509903616
224922093 516980257
843660194 888238866

result:

ok Everything ok

Test #7:

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

input:

9
107211982 359332853
695837148 142871176
605573313 162288860
509232688 314721021
396930687 132108911
205496625 287885162
183997430 822925807
474429448 221410467
801183393 664390830

output:

6
396930687 132108911
605573313 162288860
695837148 142871176
509232688 314721021
183997430 822925807
474429448 221410467

result:

ok Everything ok

Test #8:

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

input:

9
284469163 791620032
31343664 160388450
294480166 689791450
351497471 948106011
245168471 81011666
7040948 65866709
481833366 304905205
91819440 215009122
983738573 203448372

output:

6
351497471 948106011
91819440 215009122
7040948 65866709
481833366 304905205
983738573 203448372
294480166 689791450

result:

ok Everything ok

Test #9:

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

input:

9
461726344 560343699
661817474 882938432
319823507 217294040
562358475 876458292
93406256 619849004
513617981 138815548
484702011 418288384
340613213 503575069
534889971 406069427

output:

6
513617981 138815548
484702011 418288384
661817474 882938432
461726344 560343699
93406256 619849004
340613213 503575069

result:

ok Everything ok

Test #10:

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

input:

9
638983525 992630879
660887503 900455706
713763069 113392850
404623258 99777864
646676749 863719050
315162304 548200875
782537947 195235074
958003206 160737235
422477859 945126970

output:

6
646676749 863719050
660887503 900455706
404623258 99777864
782537947 195235074
958003206 160737235
422477859 945126970

result:

ok Everything ok

Test #11:

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

input:

9
521273414 129950765
291361311 623005687
107702630 935862733
320516969 733162854
494914533 812621805
453143117 621149714
711777663 308618254
206796978 449303183
678661966 147748023

output:

6
494914533 812621805
206796978 449303183
291361311 623005687
320516969 733162854
521273414 129950765
453143117 621149714

result:

ok Everything ok

Test #12:

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

input:

8
563402439 725563321
430451262 152240853
780848346 860389268
888894820 499849356
415818421 408692535
840472921 429397462
326582722 561795426
53848834 517062841

output:

6
780848346 860389268
415818421 408692535
430451262 152240853
326582722 561795426
53848834 517062841
563402439 725563321

result:

ok Everything ok

Test #13:

score: 0
Accepted
time: 2ms
memory: 3704kb

input:

8
740659620 157850500
839586707 169758127
469755198 387891858
436192311 428201637
264056205 652562581
936984536 838782790
624418658 970145897
966206119 805628788

output:

-1

result:

ok Everything ok

Test #14:

score: 0
Accepted
time: 2ms
memory: 3860kb

input:

8
917916801 295170387
470060516 892308109
495098540 283990668
647053314 356553918
817326699 191399918
443561568 911731629
922254594 157158003
920032600 94194734

output:

-1

result:

ok Everything ok

Test #15:

score: 0
Accepted
time: 2ms
memory: 3636kb

input:

8
800206690 432490275
469130545 909825383
889038101 106460550
489318097 284906199
665564483 140302673
245105891 689713175
925123238 565508474
832389884 456389610

output:

-1

result:

ok Everything ok

Test #16:

score: 0
Accepted
time: 2ms
memory: 3796kb

input:

8
272431162 201213942
99604353 632375365
914381443 338995849
700179101 213258480
218834975 384172719
751682924 762662014
222959174 47487873
786216365 744955557

output:

-1

result:

ok Everything ok

Test #17:

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

input:

8
154721052 338533829
803707091 18488857
308321004 530061950
542443884 141610761
772105469 628042765
553227248 540643561
447166182 455838344
698573649 33521503

output:

6
698573649 33521503
542443884 141610761
154721052 338533829
772105469 628042765
553227248 540643561
308321004 530061950

result:

ok Everything ok

Test #18:

score: 0
Accepted
time: 2ms
memory: 3592kb

input:

8
331978233 475853717
434180900 741038840
997227857 57564540
384708667 774995751
620343253 871912811
354771571 950028888
450034826 937817743
947367422 322087450

output:

-1

result:

ok Everything ok

Test #19:

score: 0
Accepted
time: 2ms
memory: 3872kb

input:

8
214268122 908140896
64654708 758556113
727603907 585067131
595569671 998315324
468581038 115782857
861348604 728010435
747870762 346168213
196161194 610653397

output:

-1

result:

ok Everything ok

Test #20:

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

input:

8
686492595 45460782
63724737 776073387
121543467 776133233
142867162 926667605
21851530 359652903
589263999 800959274
45706698 828147612
108518478 267815563

output:

-1

result:

wrong answer Jury has a better answer