QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#319828#4829. Mark on a Graphdaoquanglinh20070 1ms4664kbC++20920b2024-02-03 10:30:462024-02-03 10:30:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1000 3560
603 151
415 20
102 569
895 552
678 734
24 614
689 518
440 223
751 919
223 433
711 551
502 634
706 583
812 501
514 535
780 751
720 530
532 384
888 139
864 791
292 675
171 881
30 592
464 557
280 299
654 650
894 335
250 532
792 10
83 969
118 771
579 300
852 983
243 940
957 939
817 889
911 319...

output:

mark
1
501 812

input:

1000 3559
626 128
295 222
563 601
534 909
257 682
833 706
155 524
656 841
286 184
383 294
259 86
771 532
355 37
755 167
484 763
209 250
693 401
209 500
243 369
380 521
363 479
676 977
920 112
831 175
688 93
125 692
654 102
757 70
440 449
733 87
956 373
137 600
749 219
267 793
201 155
975 583
557 937...

output:

ok

result:

ok all right

Test #2:

score: 0
Wrong Answer on the first run

input:

1000 2000
457 335
160 497
464 992
892 255
853 3
308 301
970 363
541 299
89 418
425 128
626 827
603 854
484 874
755 295
607 483
798 552
356 850
320 357
254 940
675 901
168 525
301 636
520 555
773 910
343 701
889 966
218 529
909 950
71 64
682 284
424 138
721 792
670 544
386 72
654 909
725 235
592 437
...

output:

ok

input:


output:


result:

wrong answer Token "ok" doesn't correspond to pattern "mark"