Borderou de evaluare (job #2420548)

Utilizator DavidAA007Apostol David DavidAA007 Data 12 mai 2019 16:25:54
Problema Cabana Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'long long int lgput(long long int, long long int)': main.cpp:13:31: error: 'MOD' was not declared in this scope rasp=(1LL*rasp*n)%MOD; ^~~ main.cpp:14:21: error: 'MOD' was not declared in this scope n=(1LL*n*n)%MOD; ^~~ main.cpp: In function 'int main()': main.cpp:22:9: error: 'i' was not declared in this scope for(i=1;i<=1000005-5;i++) ^ main.cpp:23:35: error: 'MOD' was not declared in this scope fact[i]=(1LL*fact[i-1]*i)%MOD; ^~~ main.cpp:27:9: error: 'rasp' was not declared in this scope rasp=lgput(fact[k],(n/k+1))%MOD; ^~~~ main.cpp:27:37: error: 'MOD' was not declared in this scope rasp=lgput(fact[k],(n/k+1))%MOD; ^~~ Non zero exit status: 1

Ceva nu functioneaza?