cf/mirror

Cool Problem

CF
2187D2600· international gm4s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
4
1 1 2
0
1 1 2
?
3 7 5
?0?
7 114514 191981
?1?????
Output
1
3
100
8039591
2187D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)