Problem exponentiate_ex
User jeongwonho64
Submission Time 2023-01-29 10:30:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate_ex.cpp: In function ‘__int128 qexp(__int128, __int128, __int128)’:
exponentiate_ex.cpp:15:17: error: expected ‘;’ before ‘half’
15 | half *= half //qmult is required to ensure this operation does not overflow when M is close to 2^62
| ^
| ;
16 | half %= M;
| ~~~~