cf/mirror

Trouble Sort

CF
1365B1300· pupil1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
5
4
10 20 20 30
0 1 0 1
3
3 1 2
0 1 1
4
2 2 4 8
1 1 1 1
3
5 15 4
0 0 0
4
20 10 100 50
1 0 0 1
Output
Yes
Yes
Yes
No
Yes
1365B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)