Borderou de evaluare (job #1124779)

Utilizator PhilipDumitruPhilip Dumitru PhilipDumitru Data 26 februarie 2014 13:43:58
Problema Invsc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin, "%d", &n); ^ user.cpp:17:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin, "%d", &v[i]); ^ user.cpp:30:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fout, "%d\n", i); ^ user.cpp:32:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(fout, "%d\n", v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbTine-o tot asa!10
20ms232kbRaspuns gresit0
30ms236kbRaspuns gresit0
40ms232kbRaspuns gresit0
54ms236kbRaspuns gresit0
64ms248kbRaspuns gresit0
712ms328kbRaspuns gresit0
836ms564kbRaspuns gresit0
956ms760kbTine-o tot asa!10
1092ms984kbRaspuns gresit0
Punctaj total20

Ceva nu functioneaza?