QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#659437 | #9477. Topological Sort | ucup-team3765# | WA | 24ms | 8168kb | C++14 | 860b | 2024-10-19 20:12:07 | 2024-10-19 20:12:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3600kb
input:
3 1 3 2
output:
4
result:
ok "4"
Test #2:
score: 0
Accepted
time: 1ms
memory: 5780kb
input:
5 1 2 3 4 5
output:
1024
result:
ok "1024"
Test #3:
score: 0
Accepted
time: 1ms
memory: 5576kb
input:
6 4 2 1 5 6 3
output:
4096
result:
ok "4096"
Test #4:
score: 0
Accepted
time: 1ms
memory: 5584kb
input:
492 397 486 227 395 58 452 172 216 130 181 268 482 85 209 365 104 373 90 260 326 252 96 267 106 102 398 441 41 292 314 12 78 242 353 153 424 179 86 299 228 54 390 73 465 396 349 4 10 451 99 342 250 391 6 323 197 159 47 136 473 392 77 125 362 418 255 291 13 238 339 8 28 413 121 384 157 152 23 221 305...
output:
73428942
result:
ok "73428942"
Test #5:
score: 0
Accepted
time: 1ms
memory: 5672kb
input:
117 114 89 34 77 56 24 36 97 57 75 25 99 51 87 31 53 20 18 71 88 92 11 101 5 105 81 113 110 86 37 79 33 61 13 9 2 48 7 63 3 45 4 74 102 38 30 23 55 115 112 44 76 35 62 10 103 21 72 106 40 68 93 22 66 50 52 17 58 78 95 116 8 91 82 65 1 47 19 15 60 27 80 26 100 6 107 117 98 16 69 83 109 12 96 111 32 2...
output:
973031884
result:
ok "973031884"
Test #6:
score: 0
Accepted
time: 0ms
memory: 3484kb
input:
142 5 91 117 42 103 25 15 68 17 57 6 108 94 139 49 61 118 130 50 36 39 135 53 113 73 16 75 134 37 124 140 93 78 105 20 136 59 48 10 9 126 99 119 1 88 86 38 69 115 62 97 55 3 85 23 82 65 84 106 83 24 31 131 109 44 11 8 33 89 125 141 112 128 122 74 22 123 2 43 129 56 111 87 34 47 100 12 71 120 81 28 2...
output:
689040121
result:
ok "689040121"
Test #7:
score: 0
Accepted
time: 1ms
memory: 5588kb
input:
2 1 2
output:
2
result:
ok "2"
Test #8:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
2 2 1
output:
1
result:
ok "1"
Test #9:
score: 0
Accepted
time: 24ms
memory: 8168kb
input:
194626 192391 66573 51175 20393 139133 182361 61827 110888 4046 131771 18067 2183 160224 138697 39109 20417 69500 109571 52869 129131 77495 95741 123039 79656 88279 149323 76536 158952 163825 12131 178853 174294 83666 103342 100664 149219 136306 81716 100831 29396 128703 43798 56614 184849 170761 14...
output:
768358540
result:
ok "768358540"
Test #10:
score: 0
Accepted
time: 22ms
memory: 8108kb
input:
160968 160947 4849 31045 8012 36591 12857 147608 10869 130042 51427 115245 84111 63736 84890 113838 132449 78264 122080 149108 37262 48513 10846 72189 77505 32035 103483 23564 51479 41991 82334 117627 43428 73435 61631 138561 135985 70663 54059 43373 79399 126360 114320 15911 898 74743 72917 118342 ...
output:
817724348
result:
ok "817724348"
Test #11:
score: -100
Wrong Answer
time: 15ms
memory: 6892kb
input:
111001 26673 41956 62271 20608 31376 57244 96627 21050 358 38331 27722 39740 731 102706 60567 27528 93333 73599 1241 86518 49179 99721 8859 87696 39278 31105 60999 66188 41513 74527 77815 29823 43087 110 98990 78723 42526 31732 32018 1014 7403 69997 90978 55115 40241 14889 22516 102918 30682 61528 5...
output:
-933196271
result:
wrong answer 1st words differ - expected: '975779120', found: '-933196271'