QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#521705#6601. Mean Streets of GadgetzanMaMengQiWA 106ms65752kbC++203.4kb2024-08-16 14:04:002024-08-16 14:04:00

详细

Test #1:

score: 100
Accepted
time: 4ms
memory: 15944kb

input:

3 3
!1
2 -> 1
1 2 -> !3

output:

FFF

result:

ok ok, solution exists

Test #2:

score: 0
Accepted
time: 7ms
memory: 13884kb

input:

6 4
1 -> 2
1 3 -> !2
1 -> 3
4 -> 2
1
2 3 4 -> !1

output:

conflict

result:

ok ok, conflict

Test #3:

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

input:

10 10
2 -> !10
5 -> 1
6
5 4 3 -> 2
6 -> !10
!4
8 -> !9
7
2 -> 3
!10

output:

FFFFFTTFFF

result:

ok ok, solution exists

Test #4:

score: 0
Accepted
time: 7ms
memory: 16176kb

input:

10 20
10 -> 16
11 15 3 9 7 -> 18
!15
7 -> !16
8 13 14 7 -> !3
15 10 7 -> !4
9 13 -> 19
14 -> !3
14 -> !1
7 -> 18

output:

FFFFFFFFFFFFFFFFFFFF

result:

ok ok, solution exists

Test #5:

score: 0
Accepted
time: 6ms
memory: 14096kb

input:

10 20
13 10 14 2 -> !6
15 -> 8
3
6 19 15 17 8 12 -> 9
16 14 20 3 8 10 -> !2
13 7 -> !17
!20
13 5 -> !6
7
19 -> !8

output:

FFTFFFTFFFFFFFFFFFFF

result:

ok ok, solution exists

Test #6:

score: 0
Accepted
time: 98ms
memory: 55084kb

input:

100 1000000
94429 320635 508720 700200 130270 957386 590664 803356 809301 99923 743100 401943 305947 20978 576651 500522 625937 650963 413199 399941 858783 764652 465792 274530 785897 932255 67829 185129 466497 816582 46596 340513 678257 310188 915049 10553 569860 251293 592857 249320 652729 229483 ...

output:

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...

result:

ok ok, solution exists

Test #7:

score: 0
Accepted
time: 95ms
memory: 55172kb

input:

100 1000000
75280 10272 135675 853058 733070 255536 129337 75800 494611 651189 588621 752428 438214 661170 870566 574009 501654 560553 197175 754534 452429 325335 27138 883558 800265 727572 26165 899875 924252 933827 758011 880427 509798 544385 662165 547716 748628 769327 19666 607200 823036 29276 2...

output:

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...

result:

ok ok, solution exists

Test #8:

score: 0
Accepted
time: 102ms
memory: 55168kb

input:

1000 1000000
387098 313593 390216 685206 204015 462730 797205 91487 74360 142337 169639 782862 287191 26170 95833 975936 452601 659382 201543 664471 738121 321120 640755 709821 980365 257128 376894 680469 147871 432587 225927 406173 433925 307453 349499 350268 333345 623893 569060 821761 972304 4179...

output:

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...

result:

ok ok, solution exists

Test #9:

score: 0
Accepted
time: 102ms
memory: 63276kb

input:

3000 1000000
204 483492 327568 34073 808153 700428 795524 668587 565522 579402 807039 468388 310302 876099 477269 657266 208409 195058 830503 197328 757607 284017 440454 703204 642284 620152 517113 761081 914884 815156 284278 775797 117873 890126 177646 294376 157448 861227 999412 401045 869983 8151...

output:

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...

result:

ok ok, solution exists

Test #10:

score: 0
Accepted
time: 98ms
memory: 65496kb

input:

10000 1000000
850836 692036 570734 303842 739441 15517 18792 894659 778754 264865 388381 78765 953843 273070 194004 470690 807127 256979 107484 700448 212264 393908 631518 842148 632690 129611 227709 52409 96368 420993 456096 140019 357433 328448 789131 707372 560820 120742 994443 856300 396463 7035...

output:

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...

result:

ok ok, solution exists

Test #11:

score: 0
Accepted
time: 106ms
memory: 65704kb

input:

30000 1000000
121088 541150 909159 305585 915837 918070 84828 336736 597040 624545 701741 951449 846844 184297 748127 599159 522177 531950 32744 210713 -> !224134
748299 878582 671289 338716 28388 725620 505497 744155 471444 485498 361842 293013 626199 41806 903990 237816 926870 266543 97469 916797 ...

output:

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...

result:

ok ok, solution exists

Test #12:

score: -100
Wrong Answer
time: 97ms
memory: 65752kb

input:

100000 1000000
230849 838777 792974 528083 890193 775000 874435 490314 982983 30987 887735 240045 331792 135258 768631 459953 181791 83311 747797 865390 854153 774139 883180 572448 262720 937896 376290 719871 71346 820714 360464 247706 483716 811679 893011 -> 738203
528726 208193 465325 -> !358150
5...

output:

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFTFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...

result:

wrong answer participant found wrong solution