Problem exponentiate
User thisusernameistaken
Submission Time 2023-08-29 11:00:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exponentiate.cpp:5:9: error: ‘int128_t’ does not name a type; did you mean ‘int32_t’?
5 | typedef int128_t lll;
| ^~~~~~~~
| int32_t
exponentiate.cpp: In function ‘ll mul(ll, ll)’:
exponentiate.cpp:9:2: error: ‘lll’ was not declared in this scope; did you mean ‘ll’?
9 | lll tx=x, ty=y;
| ^~~
| ll
exponentiate.cpp:10:14: error: ‘tx’ was not declared in this scope; did you mean ‘x’?
10 | return (ll)(tx*ty%mod);
| ^~
| x
exponentiate.cpp:10:17: error: ‘ty’ was not declared in this scope; did you mean ‘y’?
10 | return (ll)(tx*ty%mod);
| ^~
| y
exponentiate.cpp:10:20: error: ‘mod’ was not declared in this scope
10 | return (ll)(tx*ty%mod);
| ^~~