Permutation of Rows and Columns
1980E1600· expert3s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
71 1112 21 23 44 32 12 21 23 44 31 23 41 5 9 612 10 4 87 11 3 21 5 9 612 10 4 87 11 3 23 31 5 96 4 23 8 79 5 12 4 67 8 32 31 2 65 4 36 1 23 4 51 55 1 2 3 44 2 5 1 3
Output
YESYESNOYESYESNOYES
58%
1980E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)