Borderou de evaluare (job #824994)

Utilizator avatar iulianrotaru Rotaru Iulian iulianrotaru IP ascuns
Problemă Perioada (Lot Juniori) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 mai 2025 05:06:37 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'll mod_pow(ll, ll, ll)': main.cpp:10:28: error: expected primary-expression before '__int128' 10 | result = (ll)((__int128)result * base % mod); | ^~~~~~~~ main.cpp:10:28: error: expected ')' before '__int128' 10 | result = (ll)((__int128)result * base % mod); | ~^~~~~~~~ | ) main.cpp:10:57: error: expected ')' before ';' token 10 | result = (ll)((__int128)result * base % mod); | ~ ^ | ) main.cpp:11:22: error: expected primary-expression before '__int128' 11 | base = (ll)((__int128)base * base % mod); | ^~~~~~~~ main.cpp:11:22: error: expected ')' before '__int128' 11 | base = (ll)((__int128)base * base % mod); | ~^~~~~~~~ | ) main.cpp:11:49: error: expected ')' before ';' token 11 | base = (ll)((__int128)base * base % mod); | ~ ^ | )