QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#842646#9962. Diminishing Fractionsucup-team003#WA 217ms127316kbC++142.0kb2025-01-04 13:50:062025-01-04 13:50:06

詳細信息

Test #1:

score: 100
Accepted
time: 217ms
memory: 126796kb

input:

2
3
6

output:

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

result:

ok OK, t = 2

Test #2:

score: 0
Accepted
time: 212ms
memory: 126384kb

input:

1
1

output:

1/1

result:

ok OK, t = 1

Test #3:

score: -100
Wrong Answer
time: 212ms
memory: 127316kb

input:

10
1
2
3
4
5
6
7
8
9
10

output:

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

result:

wrong answer Denominator = 11 is out of range [1..1]