QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#123215#6630. Triangle Collectioncmll02#0 11ms3592kbC++239.2kb2023-07-11 21:15:392024-07-04 00:36:38

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 5
Accepted
time: 0ms
memory: 1516kb

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
Accepted
time: 0ms
memory: 1508kb

input:

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

output:

189

result:

ok 1 number(s): "189"

Test #3:

score: -5
Wrong Answer
time: 1ms
memory: 3556kb

input:

50 1995
3 2 3 0 3 0 5 2 2 2 3 0 4 5 4 4 3 0 1 0 5 5 3 4 3 3 1 1 4 5 5 4 1 1 3 1 4 2 1 3 4 1 5 5 0 3 0 3 4 3
49 1
48 -2
45 3
49 0
31 -4
13 0
15 -2
48 0
38 -2
8 0
48 3
12 1
22 -4
7 -5
5 -1
3 1
15 -2
37 -4
39 -1
24 -2
11 2
35 -2
17 -1
41 -2
20 5
8 0
18 0
26 -3
25 -3
49 -5
31 4
46 -2
38 0
42 3
16 -4
5 3...

output:

50
50
51
51
50
50
49
49
49
49
49
50
49
48
47
48
47
46
45
44
45
45
44
44
45
45
45
44
43
42
42
42
42
43
41
42
43
44
43
43
43
43
42
42
44
42
41
41
41
40
40
41
41
41
41
40
41
40
39
39
40
39
39
38
40
39
40
40
39
39
41
40
41
40
40
40
40
40
41
41
42
43
42
41
42
41
43
43
42
43
44
43
42
43
42
43
44
45
45
45
...

result:

wrong answer 1st numbers differ - expected: '44', found: '50'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Wrong Answer

Test #28:

score: 0
Wrong Answer
time: 7ms
memory: 3592kb

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:

674
677
677
683
683
683
683
677
674
674
674
678
679
682
691
691
682
681
686
686
681
680
685
684
684
684
688
693
693
698
701
699
698
692
697
696
691
690
690
696
695
690
696
712
712
706
717
710
722
709
709
709
709
702
702
710
710
713
712
711
711
702
702
700
704
716
746
726
705
743
743
743
737
737
703
...

result:

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

Subtask #4:

score: 0
Wrong Answer

Test #35:

score: 0
Wrong Answer
time: 11ms
memory: 3560kb

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:

947
948
947
948
951
952
951
951
950
950
949
950
949
948
947
948
948
949
948
948
947
948
948
949
949
950
951
952
951
950
950
951
951
952
951
952
951
960
961
961
961
958
959
957
951
952
951
950
950
951
945
946
947
948
947
946
945
946
947
948
947
948
947
946
946
960
968
967
965
966
966
956
955
955
954
...

result:

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

Subtask #5:

score: 0
Skipped

Dependency #1:

0%