409131: GYM103443 I Seesaw

Memory Limit:1024 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

I. Seesawtime limit per test1 secondmemory limit per test1024 megabytesinputstandard inputoutputstandard outputExampleInput
4
3
1 1 3
2 2 2
3
1 1 1
2 2 2
3
1 1 1
4 2 2
3
3 3 3
2 2 2
Output
0
1
2
-1

加入题单

上一题 下一题 算法标签: