Borderou de evaluare (job #1189985)

Utilizator MihaiBunBunget Mihai MihaiBun Data 24 mai 2014 09:57:26
Problema Bacterii Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘long long int pu(long long int, long long int, long long int)’: user.cpp:8:25: error: ‘b’ was not declared in this scope else if (e%2==0){ b=pu(a,e/2,modu)%modu;b=(b*b)%modu;return b;} ^ user.cpp:10:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bacterii.in","r",stdin); ^ user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bacterii.out","w",stdout); ^ user.cpp:16:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&t); ^ user.cpp:19:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld",&n,&k,&m); ^

Ceva nu functioneaza?