Mahmoud and Ehab and the wrong algorithm
959C1500· specialist2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
2
Output
-11 2
Sample 2of 2
Input
8
Output
1 21 32 42 53 64 74 81 21 32 42 52 63 76 8
58%
959C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…