QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505417#5808. Year of More Code Jamxiaowuc10 1100ms10972kbPython3937b2024-08-05 05:13:432024-08-05 05:13:44

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 114ms
memory: 10928kb

input:

50
1 1
2 2
1 2
2 2
2 2
3 2
3 2 4
2 3
1 2
5 2 3 4 5
2 2
5 2
5 2 3 4 5
7 2 4 5 6 7 8
1000 2
10 2 30 40 50 300 400 500 600 700
7 20 40 50 60 70 80
98 2
49 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
46 55 56 57 ...

output:

Case #1: 1.0+0.0/1.0
Case #2: 4.0+0.0/1.0
Case #3: 4.0+5.0/9.0
Case #4: 4.0+0.0/1.0
Case #5: 8.0+21.0/25.0
Case #6: 14.0+87277.0/500000.0
Case #7: 58.0+47.0/49.0
Case #8: 39.0+10781.0/19208.0
Case #9: 38.0+3235.0/21609.0
Case #10: 100.0+50999996672.0/2e+16
Case #11: 99.0+1.111108715555024e+17/1.1111...

result:

wrong answer 1st lines differ - expected: 'Case #1: 1+0/1', found: 'Case #1: 1.0+0.0/1.0'

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 1100ms
memory: 10972kb

input:

50
1 1
2 2
1 2
2 2
2 2
5 6
2 3
2 2
2 2
2 2
3 2 3
2 2
10 3
4 2 5 9
3 4 8
5 2 3 9 12
686 10
49 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
49 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50...

output:

Case #1: 1.0+0.0/1.0
Case #2: 4.0+0.0/1.0
Case #3: 33.0+1.0/5.0
Case #4: 11.0+19.0/25.0
Case #5: 615.0+54371.0/117649.0
Case #6: 1184.0+10201.0/43904.0
Case #7: 2500.0+4850999839232.0/800000000000000.0
Case #8: 2500.0+6063749417095680.0/9.99999874000004e+17
Case #9: 1.0+999999999.0/1000000000.0
Case...

result:

wrong answer 1st lines differ - expected: 'Case #1: 1+0/1', found: 'Case #1: 1.0+0.0/1.0'