Equal Multisets (Hard Version)
2211C21800· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
55 51 2 3 4 53 1 5 2 45 21 2 1 2 12 -1 -1 -1 -16 15 6 2 2 4 35 -1 -1 2 -1 32 11 22 -16 41 2 3 4 1 22 -1 3 -1 4 -1
Output
YESYESYESNONO
58%
2211C2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…