Borderou de evaluare (job #1392479)

Utilizator raduraraduIacob Radu raduraradu Data 18 martie 2015 17:55:46
Problema Taxe2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%d",&s,&n); ^ user.cpp:13:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:17:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&a[i][j]); ^ user.cpp:13:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&s,&n); ^ user.cpp:17:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbIncorect0
20ms472kbOK10
30ms456kbOK10
40ms484kbOK10
50ms472kbOK10
60ms472kbOK10
74msDepăşitMemory limit exceeded.0
80msDepăşitMemory limit exceeded.0
98msDepăşitMemory limit exceeded.0
108msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?