cf/mirror

A Game with Traps

CF
1260D1900· candidate master3s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
5 6 4 14
1 2 3 4 5
1 5 2
1 2 5
2 3 5
3 5 3
Output
3
1260D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)