Amanojaku and Sequence (Hard Version)
2228E22500· grandmaster4s512 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
25 74 -1 7 6 -12 2 2 21 3 82 3 3 02 4 5 81 5 72 3 5 212 3 5 224 6-1 -1 -1 -12 1 1 42 1 2 52 1 3 62 1 4 71 3 32 1 4 5
Output
40100701016205173612180286
58%
2228E2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)