cf/mirror

Quests

CF
1760F1500· specialist3s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
2 5 4
1 2
2 20 10
100 10
3 100 3
7 2 6
4 20 3
4 5 6 7
4 100000000000 2022
8217734 927368 26389746 627896974
2 20 4
5 1
Output
2
Infinity
Impossible
1
12
0
1760F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)