QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#330953 | #6537. One, Two, Three | Reliauk | WA | 12ms | 13984kb | C++17 | 2.9kb | 2024-02-17 21:16:34 | 2024-02-17 21:16:35 |
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: 2ms
memory: 11788kb
input:
6 3 1 2 2 3 1
output:
2 1 2 4 0 3 5
result:
ok count=2
Test #2:
score: 0
Accepted
time: 0ms
memory: 11820kb
input:
6 2 1 3 1 3 2
output:
0
result:
ok count=0
Test #3:
score: 0
Accepted
time: 0ms
memory: 12160kb
input:
3000 1 1 1 1 1 3 1 1 3 3 1 3 1 1 2 3 1 1 2 1 2 1 3 3 3 1 1 2 1 2 2 3 1 1 1 1 1 1 1 2 1 1 1 1 1 1 2 3 3 1 1 2 1 1 2 1 1 1 1 1 2 1 1 1 1 1 1 2 1 1 1 2 3 1 1 1 1 3 3 2 1 3 1 1 2 3 1 2 3 1 1 1 2 1 1 1 1 2 3 2 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 1 1 3 1 3 3 1 1 1 1 3 1 1 2 1 1 1 3 3 1 1 1 1 2 1 1 1 1 1 2 3 3 1...
output:
499 0 14 47 1 18 48 2 20 72 3 27 77 4 29 78 6 30 81 7 39 85 10 46 88 12 51 98 13 54 117 16 60 119 17 67 120 19 71 125 21 79 132 25 84 133 26 87 145 28 92 146 32 97 151 33 99 164 34 105 171 35 113 180 36 128 184 37 138 191 38 144 192 40 148 193 41 162 199 42 167 217 43 168 218 44 176 220 45 181 223 4...
result:
ok count=499
Test #4:
score: 0
Accepted
time: 0ms
memory: 11924kb
input:
3000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
1 0 1374 2901
result:
ok count=1
Test #5:
score: 0
Accepted
time: 12ms
memory: 11928kb
input:
3000 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2...
output:
1 1755 1756 2819
result:
ok count=1
Test #6:
score: 0
Accepted
time: 0ms
memory: 11904kb
input:
1500 1 1 1 2 1 1 1 2 2 2 2 2 1 1 3 1 2 2 3 1 2 2 2 2 1 2 1 2 1 1 3 1 2 2 2 2 1 1 3 1 1 2 2 3 2 1 3 1 1 2 2 2 1 2 2 2 2 2 1 2 3 2 3 2 3 2 1 3 2 1 2 3 2 2 3 2 3 1 1 3 1 3 1 3 3 3 1 3 3 3 1 1 3 1 3 1 3 1 1 1 3 1 3 1 3 3 1 1 1 3 1 1 3 1 1 1 1 1 3 3 3 3 1 3 1 1 1 1 3 3 3 3 3 3 1 3 1 1 1 3 1 3 1 1 1 1 3 1...
output:
500 0 3 521 1 7 524 2 8 526 4 9 527 5 10 529 6 11 530 12 16 532 13 17 533 15 20 534 19 21 536 24 25 537 26 27 542 28 32 544 29 33 545 31 34 547 36 41 550 37 42 554 39 44 557 40 49 558 45 50 559 14 22 561 18 23 562 47 51 563 48 53 564 30 35 565 52 54 566 38 55 567 43 56 568 46 57 569 58 59 570 60 61 ...
result:
ok count=500
Test #7:
score: 0
Accepted
time: 3ms
memory: 11900kb
input:
3000 3 1 1 1 1 3 3 2 1 1 1 2 3 1 3 3 3 3 1 1 3 1 3 3 1 1 1 1 1 3 3 1 1 1 1 3 1 3 1 1 3 3 3 3 1 3 1 3 1 3 1 3 1 1 1 3 3 1 3 1 1 1 3 1 3 3 3 3 1 1 1 1 3 1 1 1 3 3 1 2 3 3 1 3 3 3 3 3 3 3 1 1 1 1 3 1 3 1 3 3 3 3 1 3 1 1 3 3 1 1 1 3 3 1 3 3 1 3 1 3 1 3 2 3 1 3 1 1 3 1 1 1 3 3 1 1 3 3 2 2 2 2 2 2 2 2 2 2...
output:
1000 1 7 1877 2 11 1878 3 79 1884 4 122 1885 8 138 1888 9 139 1890 10 140 1892 13 141 1893 18 142 1894 19 143 1895 21 144 1897 0 145 1899 24 146 1900 25 147 1901 26 148 1902 27 149 1903 5 150 1904 6 151 1905 28 152 1906 31 153 1907 12 154 1908 14 155 1909 15 156 1910 32 157 1911 16 158 1912 33 159 1...
result:
ok count=1000
Test #8:
score: 0
Accepted
time: 0ms
memory: 13984kb
input:
3000 1 3 1 1 3 1 1 1 1 3 1 1 3 1 1 1 3 3 3 3 3 1 1 3 1 1 3 1 3 3 1 2 2 3 1 3 3 3 1 3 3 2 3 1 1 3 3 1 1 3 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 3 3 3 1 1 1 1 3 1 1 1 3 1 1 1 1 1 3 3 3 3 3 1 3 3 3 1 1 1 3 1 1 3 1 1 3 1 3 3 3 1 1 1 3 3 3 3 3 1 1 1...
output:
1000 0 31 1618 1 32 1619 2 41 1620 4 51 1621 9 52 1622 12 53 1623 16 54 1624 3 55 1625 5 56 1626 17 57 1627 6 58 1628 7 59 1629 18 60 1630 8 61 1631 10 62 1632 11 63 1633 13 64 1634 14 65 1635 19 66 1636 15 67 1637 20 68 1638 23 69 1639 26 70 1640 21 71 1641 28 72 1642 29 73 1643 33 74 1644 35 75 16...
result:
ok count=1000
Test #9:
score: 0
Accepted
time: 3ms
memory: 11968kb
input:
2997 3 1 2 2 1 1 1 1 1 1 3 1 3 3 1 3 3 3 1 3 1 2 1 1 3 1 2 2 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 3 3 1 1 3 1 3 1 1 3 3 1 3 1 3 3 3 1 1 1 3 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 1 3 1 1 1 1 1 3 3 3 1 3 1 1 3 3 3 1 3 3 1 1 1 3 1 1 3 1 1 3 2 3 3 3 2 3 2 3 1 2 1 1 3 1 1 3 2 2 2 2...
output:
999 1 2 1205 4 21 1206 5 26 1207 6 27 1208 7 30 1209 8 31 1214 9 32 1219 11 33 1221 14 34 1223 18 35 1224 20 36 1225 0 3 1226 22 37 1227 10 38 1228 23 39 1229 25 40 1230 28 41 1231 12 42 1232 13 43 1233 29 44 1234 50 73 1235 53 74 1236 54 75 1237 15 45 1238 16 46 1239 17 47 1240 19 48 1241 56 76 124...
result:
ok count=999
Test #10:
score: 0
Accepted
time: 3ms
memory: 11924kb
input:
2994 1 1 2 1 2 1 2 2 3 1 3 3 3 3 1 3 1 1 2 3 3 1 3 3 3 3 1 1 1 3 3 2 3 1 3 1 3 3 1 2 3 1 3 3 3 1 3 1 3 2 3 2 1 1 3 1 1 1 3 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 1 1 2 3 3 3 3 3 3 1 3 1 3 1 1 2 1 3 3 3 2 2 3 2 1 3 3 3 1 2 1 1 2 3 3 1 3 2 2 2 2 2 2 2 2...
output:
998 0 2 1914 1 4 1915 3 6 1916 5 7 1922 9 18 1924 14 31 1925 16 39 1927 17 49 1928 21 51 1929 26 59 1930 27 61 1931 28 62 1932 33 63 1933 35 64 1936 38 65 1937 41 66 1939 45 67 1941 8 68 1942 10 69 1943 47 70 1944 52 71 1945 11 72 1946 12 73 1947 13 74 1948 53 75 1949 55 76 1950 15 77 1951 56 78 195...
result:
ok count=998
Test #11:
score: 0
Accepted
time: 0ms
memory: 11932kb
input:
3000 1 1 1 3 2 3 2 3 1 1 1 1 2 3 1 2 1 2 1 3 3 2 2 3 3 2 3 2 2 3 3 3 3 3 1 3 2 1 2 3 2 3 3 3 2 1 3 3 3 2 1 1 1 1 2 1 3 1 3 2 2 2 1 2 3 3 3 2 1 3 1 3 2 3 1 3 2 3 3 1 2 1 2 2 3 1 3 2 2 1 1 2 3 1 1 3 1 3 2 2 3 2 2 1 3 2 2 2 3 3 2 3 1 2 2 1 1 1 2 3 2 1 3 2 1 1 1 3 3 1 3 1 3 2 2 1 1 1 1 2 1 2 3 1 2 1 2 2...
output:
1000 0 4 149 1 6 158 2 12 159 8 15 160 9 17 166 10 21 168 11 22 169 14 25 171 16 27 178 18 28 179 34 36 182 37 38 186 45 49 189 50 54 194 51 59 197 52 60 201 53 61 202 55 63 204 57 67 206 62 72 212 68 76 213 70 80 216 74 82 223 79 83 226 81 87 228 85 88 232 89 91 233 90 98 234 93 99 240 94 101 249 9...
result:
ok count=1000
Test #12:
score: -100
Wrong Answer
time: 4ms
memory: 13984kb
input:
3000 2 2 1 3 2 2 2 3 2 2 2 2 2 1 2 2 2 2 2 1 3 2 2 2 2 3 2 2 2 2 2 2 1 3 2 2 2 2 2 2 2 2 2 2 1 3 2 2 2 1 2 3 2 3 1 2 2 3 2 3 2 2 2 1 2 2 2 2 2 2 2 2 2 1 2 2 3 2 2 1 2 3 2 1 3 3 2 3 2 2 2 3 1 2 2 2 2 1 2 3 3 1 2 1 1 2 2 2 1 2 2 2 2 2 2 1 2 3 1 2 1 2 2 3 2 2 2 2 2 2 2 2 2 3 1 2 2 2 2 3 2 3 3 1 2 2 1 2...
output:
636 2 4 1661 13 14 1662 19 21 1668 32 34 1669 44 46 1670 49 50 1671 54 55 1672 63 64 1674 73 74 1675 79 80 1677 83 86 1678 92 93 1679 97 98 1683 101 102 1690 103 105 1691 104 106 1692 108 109 1693 115 116 1694 118 119 1695 120 121 1698 134 135 1700 143 144 1701 146 147 1703 150 153 1704 158 159 1705...
result:
wrong answer the number of matches is different