Flow

Time Limit: 1000ms
Memory Limit: 131072KB
This problem will be judged on HDU. Original ID: 4700
64-bit integer IO format: %I64d      Java class name: Main
Special Judge

Description

Sample Input

3
-1 2 2
2 -1 2
2 2 -1
3
-1 1 2
1 -1 2
2 2 -1

Sample Output

YES
-1 1 1
1 -1 1
1 1 -1
NO

Source

Language: 
Theme: 
Share Code? 

Powered by NB231 | Current Style: .