QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#847421 | #4522. Orchard Division / Divide and Sell | nanika | AC ✓ | 2049ms | 69240kb | C++20 | 1.6kb | 2025-01-07 23:04:11 | 2025-01-07 23:04:12 |
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: 2049ms
memory: 69240kb
input:
2 2 0 0 1 1 3 3 2 0 1 1 0 2 5 4 0 0 0 4 1 1 3 3 1 1 0 0 2 1 0 0 2 1 0 1 2 2 0 0 0 1 2 1 1 0 2 2 0 0 1 0 2 2 0 1 1 0 2 3 0 0 0 1 1 0 2 1 1 1 2 2 0 0 1 1 2 2 0 1 1 1 2 3 0 0 0 1 1 1 2 2 1 0 1 1 2 3 0 0 1 0 1 1 2 3 0 1 1 0 1 1 2 4 0 0 0 1 1 0 1 1 16 128 0 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11...
output:
1 -1 4 -1 -1 -1 1 -1 1 1 -1 -1 1 1 -1 1 -1 -1 2 112 112 49 200 72 72 72 180 24 36 10 40 24 24 50 10 8 -1 962 644 256 408 480 104 208 1161 1147 200 2925 1715 1344 2850 2772 4784 3844 3843 4770 2200 15370986841276356 2877993933040512 41134990537084484 9427060193835330 203654902990282524 24659767492258...
result:
ok 93 lines