QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#115422#6630. Triangle Collectionznstz#0 2ms5796kbC++201.7kb2023-06-26 09:22:502024-05-31 14:13:12

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 5
Accepted
time: 1ms
memory: 3692kb

input:

1 23
1485
1 -12
1 -30
1 -20
1 6
1 24
1 5
1 31
1 14
1 -34
1 -22
1 -45
1 37
1 46
1 9
1 22
1 -9
1 9
1 -46
1 -47
1 39
1 36
1 -36
1 50

output:

491
481
474
476
484
486
496
501
489
482
467
479
495
498
505
502
505
490
474
487
499
487
504

result:

ok 23 numbers

Test #2:

score: 0
Wrong Answer
time: 1ms
memory: 5796kb

input:

12 1
13 79 59 21 32 13 85 40 74 15 49 56
3 31

output:

252

result:

wrong answer 1st numbers differ - expected: '189', found: '252'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Wrong Answer

Test #28:

score: 0
Wrong Answer
time: 2ms
memory: 5784kb

input:

1999 2000
1 1 1 1 0 2 0 2 1 0 2 1 2 2 2 1 2 0 0 1 2 2 0 1 0 1 0 2 0 0 2 1 1 1 1 0 1 2 1 2 1 1 1 1 1 0 2 2 0 2 1 1 2 0 0 2 0 0 2 1 2 0 0 1 1 2 0 2 2 2 1 2 0 2 1 2 0 1 2 2 2 1 1 2 1 1 1 1 0 0 1 1 0 1 2 1 0 0 2 0 2 2 2 0 1 1 2 0 0 1 0 0 2 1 2 1 2 0 1 1 2 2 0 0 1 2 2 1 2 1 2 2 2 0 0 1 1 2 1 1 2 2 2 2 2 ...

output:

658
658
658
659
659
659
659
658
658
658
658
659
660
660
661
661
660
659
660
660
659
658
659
658
658
658
659
659
659
659
660
659
659
658
659
658
657
656
656
657
657
656
657
658
658
658
658
658
658
657
657
657
657
657
657
657
657
658
657
656
656
656
656
655
655
655
656
655
654
655
655
655
654
654
653
...

result:

wrong answer 1st numbers differ - expected: '660', found: '658'

Subtask #4:

score: 0
Wrong Answer

Test #35:

score: 0
Wrong Answer
time: 2ms
memory: 5776kb

input:

2000 1999
0 1 0 3 0 1 0 0 0 0 0 0 0 2 0 0 0 0 3 1 1 0 2 0 0 3 0 0 0 0 0 4 0 0 1 0 1 0 0 0 0 1 2 1 0 0 0 0 7 0 1 3 1 0 1 1 0 3 2 1 0 1 1 3 3 1 0 2 0 0 0 0 0 0 0 0 1 0 0 0 2 0 0 0 0 0 1 2 3 0 1 0 3 3 0 0 0 0 1 0 1 2 0 0 2 2 0 1 2 1 2 0 0 0 1 1 0 1 2 0 0 0 0 2 0 5 0 0 0 0 0 1 0 0 2 0 1 2 0 1 0 0 0 2 0 ...

output:

667
667
667
667
667
667
667
667
667
668
668
668
668
669
669
669
668
668
668
669
669
669
668
668
667
667
666
666
665
665
666
666
666
666
666
666
665
665
665
665
664
664
663
663
662
662
662
662
662
662
662
662
662
662
662
662
662
662
662
662
662
663
663
664
664
665
665
665
665
665
665
665
665
664
664
...

result:

wrong answer 1st numbers differ - expected: '666', found: '667'

Subtask #5:

score: 0
Skipped

Dependency #1:

0%