QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505409#5764. Triangle Areasxiaowuc120 ✓4ms3636kbC++171.7kb2024-08-05 05:10:302024-08-05 05:10:30

详细

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 1ms
memory: 3620kb

input:

1000
1 1 1
1 2 64
10 10 1
1 1 1
1 2 1
1 2 2
1 3 1
1 3 2
1 3 3
1 4 1
1 4 2
1 4 3
1 4 4
2 1 1
2 1 2
2 2 1
2 2 2
2 2 4
2 2 3
2 3 1
2 3 2
2 3 4
2 3 3
2 3 6
2 3 5
2 4 1
2 4 2
2 4 4
2 4 3
2 4 6
2 4 8
2 4 5
2 4 7
3 1 1
3 1 2
3 1 3
3 2 1
3 2 2
3 2 3
3 2 4
3 2 6
3 2 5
3 3 1
3 3 2
3 3 3
3 3 4
3 3 6
3 3 9
3 3 ...

output:

Case #1: 0 0 0 1 1 0
Case #2: IMPOSSIBLE
Case #3: 0 1 1 10 0 0
Case #4: 0 0 0 1 1 0
Case #5: 0 1 1 2 0 0
Case #6: 0 0 0 2 1 0
Case #7: 0 1 1 3 0 0
Case #8: 0 2 1 3 0 0
Case #9: 0 0 0 3 1 0
Case #10: 0 1 1 4 0 0
Case #11: 0 2 1 4 0 0
Case #12: 0 3 1 4 0 0
Case #13: 0 0 0 4 1 0
Case #14: 0 1 1 1 0 0
C...

result:

ok correct! (1000 test cases)

Subtask #2:

score: 15
Accepted

Test #2:

score: 15
Accepted
time: 4ms
memory: 3636kb

input:

1000
1 1 1
1 2 64
10 10 1
1 1 1
1 2 1
1 2 2
1 3 1
1 3 2
1 3 3
1 4 1
1 4 2
1 4 3
1 4 4
2 1 1
2 1 2
2 2 1
2 2 2
2 2 4
2 2 3
2 3 1
2 3 2
2 3 4
2 3 3
2 3 6
2 3 5
2 4 1
2 4 2
2 4 4
2 4 3
2 4 6
2 4 8
2 4 5
2 4 7
3 1 1
3 1 2
3 1 3
3 2 1
3 2 2
3 2 3
3 2 4
3 2 6
3 2 5
3 3 1
3 3 2
3 3 3
3 3 4
3 3 6
3 3 9
3 3 ...

output:

Case #1: 0 0 0 1 1 0
Case #2: IMPOSSIBLE
Case #3: 0 1 1 10 0 0
Case #4: 0 0 0 1 1 0
Case #5: 0 1 1 2 0 0
Case #6: 0 0 0 2 1 0
Case #7: 0 1 1 3 0 0
Case #8: 0 2 1 3 0 0
Case #9: 0 0 0 3 1 0
Case #10: 0 1 1 4 0 0
Case #11: 0 2 1 4 0 0
Case #12: 0 3 1 4 0 0
Case #13: 0 0 0 4 1 0
Case #14: 0 1 1 1 0 0
C...

result:

ok correct! (1000 test cases)

Extra Test:

score: 0
Extra Test Passed