Borderou de evaluare (job #1366196)

Utilizator rughibemBelcineanu Alexandru Ioan rughibem Data 28 februarie 2015 20:38:47
Problema Perle Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:38: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(g,"%ld\n",Rezolvare()); ^ user.cpp: In function ‘bool Rezolvare()’: user.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:20:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld\n",&T); ^ user.cpp:22:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld",&L); ^ user.cpp:23:57: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(long int i=1;i<=L;i++) fscanf(f,"%ld",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbOK!10
20ms244kbRaspuns gresit!0
30ms240kbRaspuns gresit!0
40ms252kbRaspuns gresit!0
50ms240kbRaspuns gresit!0
60ms244kbRaspuns gresit!0
70ms248kbRaspuns gresit!0
84ms268kbRaspuns gresit!0
94ms276kbRaspuns gresit!0
1012ms280kbRaspuns gresit!0
Punctaj total10

Ceva nu functioneaza?