【例30.3】 按要求计算输出
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
现输入一个正整数 (),代表接下来有行每行有三个正整数 , , 。
输入格式
第一行输入一个正整数 N;
接下来 N 行,每行三个正整数 a, b, c。
(1≤b,c≤2147483647,)。
输出格式
如果 请输出 ;
如果 请输出 ;
如果 请输出 ;
如果 请输出 。
结果请用整数输出。
样例
4
1 2 3
2 2 3
3 2 3
4 2 3
5
-1
6
0
暑假C三
- Status
- Done
- Rule
- IOI
- Problem
- 5
- Start at
- 2025-7-20 14:45
- End at
- 2025-7-20 16:45
- Duration
- 2 hour(s)
- Host
- Partic.
- 9