QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#88010#5757. Crop Trianglesxiaowuc115 ✓9ms3276kbC++172.9kb2023-03-14 23:00:412023-03-14 23:00:43

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 2ms
memory: 3264kb

input:

10
4 10 7 1 2 0 1 20
10 1 1 1 1 9 0 10
100 933340 844300 693383 818648 47887 932963 1000000
30 11 4 4 9 20 18 100
6 2 1 2 1 1 2 11
30 11 3 5 8 91 12 100
20 851 989 869 905 775 507 1000
10 1 1 1 1 999998 0 999999
99 714 817 923 901 732 433 1000
100 1 1 1 99 0 0 100

output:

Case #1: 1
Case #2: 30
Case #3: 44852
Case #4: 442
Case #5: 3
Case #6: 1212
Case #7: 122
Case #8: 42
Case #9: 17455
Case #10: 52305

result:

ok 10 lines

Subtask #2:

score: 10
Accepted

Test #2:

score: 10
Accepted
time: 9ms
memory: 3276kb

input:

10
30012 1 3 1 9 366514975 471682264 1000000000
49999 86038509 73158572 98841825 97465999 46713925 66347146 100000123
6 2 1 2 1 1 2 11
50000 738174322 740565415 762840810 897474248 212376768 971105952 1000000000
100000 1 1 1 9999 0 0 100000000
4 10 7 1 2 0 1 20
100000 1 1 1 1 999999998 0 999999999
3...

output:

Case #1: 4504951810220
Case #2: 2314537309456
Case #3: 3
Case #4: 6941111940575
Case #5: 18554889032160
Case #6: 1
Case #7: 55553888922222
Case #8: 379555832130
Case #9: 969
Case #10: 6943194527776

result:

ok 10 lines

Extra Test:

score: 0
Extra Test Passed