QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#189400#5441. Quartz Collectioncbant15WA 1ms3616kbC++142.5kb2023-09-27 14:16:592023-09-27 14:17:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3460kb

input:

4 5
2 4
5 7
1 7
2 1
4 5 2
1 6 2
4 4 3
2 1 3
3 6 6

output:

13
14
15
14
10
13

result:

ok 6 numbers

Test #2:

score: 0
Accepted
time: 0ms
memory: 3540kb

input:

1 1
1 1
1 1 1

output:

1
1

result:

ok 2 number(s): "1 1"

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 3616kb

input:

100 100
6 7
100 8
5 61
5 75
59 65
51 47
83 37
34 54
87 46
4 26
21 87
12 97
86 68
60 11
62 76
14 83
29 31
91 62
57 80
47 75
85 97
62 77
91 86
14 25
48 77
83 65
39 61
78 77
45 46
90 74
100 91
86 98
55 5
84 42
91 69
100 4
74 98
60 37
75 44
41 12
15 34
36 1
99 16
7 87
36 26
79 42
41 84
17 98
72 16
38 55...

output:

4944
4998
4935
4914
4823
5025
5056
4992
4987
4935
4814
4776
4758
4681
4696
4662
4816
4944
5013
4924
4854
4944
4921
4741
4813
4894
4694
4645
4745
4781
4886
4906
4878
4984
4943
4944
4941
4940
4961
4808
4696
4803
4785
4782
4602
4682
4622
4565
4553
4602
4621
4419
4495
4419
4490
4480
4396
4440
4353
4680
...

result:

wrong answer 1st numbers differ - expected: '5109', found: '4944'