QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#39054#1269. New EquipmentsMaMengQiRE 1ms3284kbC++142.5kb2022-07-08 12:38:432022-07-08 12:38:44

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3284kb

input:

1
3 5
2 3 10
2 -3 10
1 -1 4

output:

4 15 37 

result:

ok single line: '4 15 37 '

Test #2:

score: -100
Runtime Error

input:

10
50 50
2 -16 79
8 -21 54
8 -1 3
1 -7 47
5 -20 89
1 -2 47
2 -10 26
10 31 28
2 -16 37
6 -16 44
2 -8 100
3 -26 65
3 -6 91
10 -33 56
2 -7 22
2 -12 74
1 -3 7
7 -30 51
1 -4 8
1 -10 62
2 -5 5
1 -3 38
7 -32 57
4 -24 65
1 -8 97
7 -28 71
5 -13 71
2 -14 49
6 -33 100
2 7 69
8 -22 38
5 -23 88
7 20 57
7 -11 83
...

output:


result: