Problem | exponentiate_ex |
---|---|
User | Kiameimon |
Submission Time | 2024-03-25 21:11:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exponentiate_ex.cpp: In function ‘u64 modmul(u64, u64, u64)’:
exponentiate_ex.cpp:7:2: error: ‘ll’ was not declared in this scope; did you mean ‘ld’?
7 | ll ret = a * b - M * u64(1.L / M * a * b);
| ^~
| ld
exponentiate_ex.cpp:8:9: error: ‘ret’ was not declared in this scope
8 | return ret + M * (ret < 0) - M * (ret >= (ll)M);
| ^~~
exponentiate_ex.cpp:8:47: error: expected ‘)’ before ‘M’
8 | return ret + M * (ret < 0) - M * (ret >= (ll)M);
| ~ ^
| )