QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#842778#9962. Diminishing Fractionsucup-team3647#WA 5ms3820kbC++2319.8kb2025-01-04 14:43:252025-01-04 14:43:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 5ms
memory: 3744kb

input:

2
3
6

output:

1/2+2/3-1/1
3/4+2/3+3/5-2/1

result:

ok OK, t = 2

Test #2:

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

input:

1
1

output:

1/1

result:

ok OK, t = 1

Test #3:

score: -100
Wrong Answer
time: 2ms
memory: 3820kb

input:

10
1
2
3
4
5
6
7
8
9
10

output:

1/1
1/2
1/2+2/3-1/1
3/4+2/3-1/1
3/4+2/3+3/5-2/1
3/4+2/3+3/5-2/1
3/4+2/3+3/5+2/7-2/1
1/8+2/3+3/5+2/7-2/1
1/8+1/9+3/5+2/7-1/1
1/8+1/9+3/5+2/7-1/1

result:

wrong answer Sums do not match for modulus 8809877585262195773