QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#843707#9962. Diminishing Fractionsucup-team130#WA 437ms4600kbC++203.5kb2025-01-04 22:26:432025-01-04 22:26:43

詳細信息

Test #1:

score: 100
Accepted
time: 433ms
memory: 4532kb

input:

2
3
6

output:

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

result:

ok OK, t = 2

Test #2:

score: 0
Accepted
time: 437ms
memory: 4600kb

input:

1
1

output:

1/1

result:

ok OK, t = 1

Test #3:

score: -100
Wrong Answer
time: 437ms
memory: 4524kb

input:

10
1
2
3
4
5
6
7
8
9
10

output:

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

result:

wrong answer Sums do not match for modulus 8809877585262195773