Borderou de evaluare (job #1160340)

Utilizator alexge50alexX AleX alexge50 Data 30 martie 2014 14:29:26
Problema Modulo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin,"%d%d%d",&a,&b,&c); ^ user.cpp:10:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:10:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=] user.cpp:11:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d",pow(a,b,c)); ^ user.cpp: In function ‘long long int pow(long int, long int, long int)’: user.cpp:21:10: warning: unused variable ‘i’ [-Wunused-variable] long i; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbOK10
20ms232kbOK10
30ms232kbOK10
40ms232kbOK10
50ms232kbOK10
60ms232kbOK10
70ms232kbIncorect0
80ms232kbIncorect0
90ms232kbIncorect0
100ms232kbIncorect0
Punctaj total60

Ceva nu functioneaza?