QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#294854#4829. Mark on a Graphucup-team988#0 229ms5080kbC++202.8kb2023-12-30 16:59:272023-12-30 16:59:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 197ms
memory: 5052kb

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
5
634 646
8 926
154 770
166 971
494 595

input:

1000 3563
269 626
222 295
959 665
534 909
682 161
833 706
199 155
656 841
184 728
383 358
259 86
817 771
37 355
174 167
484 763
209 250
298 520
850 500
369 902
521 380
363 479
676 977
920 112
83 863
730 688
692 125
654 102
757 70
736 246
733 87
956 373
600 137
201 783
511 267
790 201
583 409
557 937...

output:

ok

result:

ok all right

Test #2:

score: 100
Accepted
time: 163ms
memory: 4848kb

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:

mark
5
350 812
858 882
124 423
420 877
137 447

input:

1000 2003
711 181
426 320
386 503
377 826
97 233
231 792
1 993
437 440
532 381
554 952
660 299
291 182
690 916
584 649
252 673
756 751
178 529
731 827
39 689
519 541
620 139
379 375
755 727
628 115
884 341
945 813
564 74
863 90
99 543
858 25
450 298
411 279
758 705
167 507
78 414
605 104
965 231
50 ...

output:

ok

result:

ok all right

Test #3:

score: 100
Accepted
time: 229ms
memory: 5080kb

input:

1000 5000
449 632
597 26
701 322
249 190
411 770
666 596
989 995
112 861
445 818
544 659
24 680
739 593
344 439
193 932
600 526
574 869
216 918
716 793
259 686
555 993
255 578
659 271
328 524
729 672
39 771
241 866
27 790
417 109
56 403
338 299
387 232
280 306
589 794
833 419
900 802
54 697
539 807
...

output:

mark
5
44 130
211 443
115 486
27 95
331 963

input:

1000 5003
551 5
992 501
969 219
518 208
392 348
127 148
603 361
95 435
141 112
805 502
184 578
947 106
570 324
752 128
918 121
61 647
128 365
345 143
992 118
384 151
309 181
582 431
334 471
461 405
549 326
830 455
919 926
323 888
463 321
143 138
424 306
461 115
363 344
781 694
544 947
755 462
105 53...

output:

ok

result:

ok all right

Test #4:

score: 0
Wrong Answer on the first run

input:

1000 3156
347 398
792 278
754 442
413 757
391 130
636 625
207 437
81 415
47 974
887 779
524 619
379 894
868 594
653 919
29 117
123 867
632 505
648 147
130 420
495 876
637 659
882 348
462 878
282 646
398 525
419 224
926 448
305 934
855 570
396 345
774 918
336 123
502 491
984 783
845 142
790 594
754 4...

output:

ok

input:


output:


result:

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