QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#462213 | #6892. WO MEI K | ZhaoZiLong | AC ✓ | 2551ms | 95572kb | C++20 | 2.3kb | 2024-07-03 15:44:14 | 2024-07-03 15:44:18 |
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: 2551ms
memory: 95572kb
input:
106 200000 2 1 70358 3 1 94059 4 3 194779 5 3 147526 6 1 128796 7 4 141976 8 4 69430 9 3 132781 10 6 82526 11 5 93708 12 8 10824 13 8 159324 14 10 95645 15 9 83437 16 10 61897 17 13 119054 18 14 116823 19 18 149469 20 10 72020 21 2 95763 22 1 194299 23 1 84812 24 1 20933 25 7 71421 26 9 111015 27 16...
output:
479799996 559987406 173574248 414521015 435350101 700635296 260375015 89074409 377135544 408258434 551176217 27254026 306297792 254632387 447509594 817903044 963868466 827085336 1067266388 422475867 31622164 843934379 105738540 870679243 513141034 752944662 798135577 305400376 650171300 371654894 81...
result:
ok 106 lines