Borderou de evaluare (job #984890)

Utilizator otnielMercea Otniel otniel Data 15 august 2013 17:41:10
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:35:20: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%ld\n",&t); ^ user.cpp:38:22: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%ld",&n); ^ user.cpp:40:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%ld",&a[i]); ^ user.cpp: In function ‘int b(int)’: user.cpp:15:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int c(int)’: user.cpp:30:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms364kbOK!10
20ms368kbRaspuns gresit!0
30ms368kbRaspuns gresit!0
40ms368kbRaspuns gresit!0
50ms364kbRaspuns gresit!0
60ms372kbRaspuns gresit!0
70ms368kbRaspuns gresit!0
80ms368kbRaspuns gresit!0
90ms364kbRaspuns gresit!0
100ms368kbRaspuns gresit!0
Punctaj total10

Ceva nu functioneaza?