Borderou de evaluare (job #1392476)

Utilizator raduraraduIacob Radu raduraradu Data 18 martie 2015 17:54:40
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
10ms512kbIncorect0
20ms528kbOK10
30ms488kbOK10
40ms576kbOK10
50ms540kbOK10
60ms536kbOK10
74msDepăşitMemory limit exceeded.0
84msDepăşitMemory limit exceeded.0
912msDepăşitMemory limit exceeded.0
108msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?