For Wizards, the Exam Is Easy, but I Couldn't Handle It
2072D1300· pupil2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
971 4 3 2 5 3 361 4 3 2 5 387 6 5 8 4 3 2 1101 1 1 5 1 1 5 6 7 821337 6942 1 2 13998 244 35331 2 191 1 2 3 5 8 13 21 34
Output
2 72 41 84 61 21 41 32 35 5
58%
2072D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)