Borderou de evaluare (job #824995)

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:10:43 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:12: error: expected type-specifier before '__int128' 3 | using ll = __int128; | ^~~~~~~~ main.cpp:5:1: error: 'll' does not name a type 5 | ll mod_pow(ll base, ll exp, ll mod) { | ^~ main.cpp:17:1: error: 'll' does not name a type 17 | ll phi(ll n) { | ^~ main.cpp:31:8: error: 'll' was not declared in this scope 31 | vector<ll> get_divisors(ll n) { | ^~ main.cpp:31:10: error: template argument 1 is invalid 31 | vector<ll> get_divisors(ll n) { | ^ main.cpp:31:10: error: template argument 2 is invalid main.cpp:31:25: error: 'll' was not declared in this scope 31 | vector<ll> get_divisors(ll n) { | ^~ main.cpp:44:27: error: 'll' was not declared in this scope 44 | long long smallest_period(ll N) { | ^~ main.cpp: In function 'int main()': main.cpp:60:5: error: 'll' was not declared in this scope 60 | ll N; | ^~ main.cpp:63:5: error: 'N' was not declared in this scope 63 | N = n; | ^ main.cpp:65:28: error: 'smallest_period' cannot be used as a function 65 | fout << smallest_period(N); | ~~~~~~~~~~~~~~~^~~