cf/mirror

Waste Sorting

CF
1468N900· newbie2s512 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
7
1 2 3
1 2 3 0 0
2 2 3
1 2 3 1 0
2 2 3
1 2 3 0 1
1 2 5
1 2 3 1 1
0 0 0
0 0 0 0 0
0 0 4
1 0 0 0 0
13 37 42
0 0 0 40 47
Output
YES
YES
NO
YES
YES
NO
YES
1468N.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)