Bouquet (Hard Version)
1995B21700· expert1.5s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
73 101 2 32 2 13 1033206 207 10003 4 16 204 2 7 5 6 11 2 1 3 1 78 100000239 30 610 122 24 40 8 212 13123 112 1456 124 100 123 109826 132 4 11 1 3 52 2 1 2 2 18 10330206 210 200 201 198 199 222 10009 10 11 12 13 14 15 162 1000000000011 1287312315 753297050
Output
71033199999013100009999999999
58%
1995B2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)