QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#77023 | #1180. The Halfwitters | Minneapolis | AC ✓ | 396ms | 3016kb | C++20 | 1.7kb | 2023-02-13 00:30:35 | 2023-02-13 00:30:36 |
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: 2964kb
input:
1 6 1 1 1 3 1 2 3 4 5 6 5 4 3 2 1 6 6 4 2 1 3 5
output:
0/1 6/1 2771/428
result:
ok 3 tokens
Test #2:
score: 0
Accepted
time: 20ms
memory: 3012kb
input:
10 3 3 2 1 6 1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1 4 7 4 5 24 1 2 3 4 1 2 4 3 1 3 2 4 1 3 4 2 1 4 2 3 1 4 3 2 2 1 3 4 2 1 4 3 2 3 1 4 2 3 4 1 2 4 1 3 2 4 3 1 3 1 2 4 3 1 4 2 3 2 1 4 3 2 4 1 3 4 1 2 3 4 2 1 4 1 2 3 4 1 3 2 4 2 1 3 4 2 3 1 4 3 1 2 4 3 2 1 7 1 1 1 5040 1 2 3 4 5 6 7 1 2 3 4 5 7 6 1 2 3 4...
output:
0/1 3/1 3/1 7/2 7/2 2/1 0/1 7/1 7/1 14/1 14/1 169/9 7/1 14/1 14/1 169/9 169/9 18/1 14/1 169/9 169/9 18/1 18/1 11/1 169/9 18/1 18/1 11/1 11/1 4/1 0/1 1/1 1/1 2/1 2/1 3/1 1/1 2/1 2/1 3/1 3/1 4/1 2/1 3/1 3/1 4/1 4/1 5/1 3/1 4/1 4/1 5/1 5/1 6/1 1/1 2/1 2/1 3/1 3/1 4/1 2/1 3/1 3/1 4/1 4/1 5/1 3/1 4/1 4/1...
result:
ok 40350 tokens
Test #3:
score: 0
Accepted
time: 118ms
memory: 3016kb
input:
20 10 426 575 522 5000 1 2 3 4 5 6 7 8 9 10 1 2 3 5 4 6 7 8 9 10 1 2 3 5 4 6 8 7 9 10 10 9 8 7 6 4 5 3 2 1 10 9 8 7 6 4 3 5 2 1 1 2 5 3 4 7 6 8 9 10 10 9 8 7 6 4 3 5 2 1 1 2 5 3 4 6 8 7 9 10 1 2 5 4 3 6 8 7 9 10 1 2 5 4 3 6 8 7 10 9 1 2 5 4 3 6 8 10 7 9 9 10 7 8 6 3 4 5 2 1 1 5 2 4 3 6 8 7 10 9 9 10...
output:
0/1 426/1 852/1 1001/1 1427/1 1278/1 1427/1 1278/1 1704/1 2130/1 2556/1 2705/1 2556/1 3557/1 3983/1 3557/1 3408/1 3557/1 2556/1 3557/1 3408/1 2982/1 3983/1 4409/1 3983/1 3834/1 4835/1 3834/1 4835/1 4409/1 4260/1 4686/1 5112/1 5261/1 5687/1 5538/1 6539/1 6965/1 6816/1 6965/1 5964/1 6113/1 5112/1 4686...
result:
ok 100000 tokens
Test #4:
score: 0
Accepted
time: 396ms
memory: 2968kb
input:
100000 10 426 575 522 1 1 7 6 10 5 9 8 3 4 2 11 218 389 645 1 7 2 3 1 5 11 10 6 9 8 4 12 711 600 618 1 10 12 8 4 6 2 11 9 3 1 5 7 13 340 506 679 1 10 12 8 5 13 2 4 11 9 7 6 1 3 14 310 991 449 1 4 11 1 6 9 5 7 13 14 3 2 10 8 12 15 754 994 657 1 13 5 4 11 8 6 10 12 2 15 9 14 3 1 7 16 138 214 312 1 6 4...
output:
10994755857/1407178 4796/1 16242/1 8326/1 11160/1 1817533830801332/60548706503 27453558003082090/3915750882281 30696603822060551/1081224825026 97162151240085293/4773192608806 21755161877455501/1164585836261 408150504548125/19169510077 27131/1 37671948528423792/1164585836261 37393/1 660/1 77609382402...
result:
ok 100000 tokens