Borderou de evaluare (job #1598526)

Utilizator preda.andreiPreda Andrei preda.andrei Data 12 februarie 2016 23:13:26
Problema Zone Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin, "%d", &mat[i][j]); ^ user.cpp:22:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:24:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%lld", &sume[i]); ^ user.cpp:27:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &mat[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms608kbOK10
20ms460kbOK10
324ms648kbOK10
4Depăşit812kbTime limit exceeded.0
5Depăşit816kbTime limit exceeded.0
6Depăşit1216kbTime limit exceeded.0
7Depăşit1216kbTime limit exceeded.0
8Depăşit2416kbTime limit exceeded.0
9Depăşit2420kbTime limit exceeded.0
100ms476kbOK10
Punctaj total40

Ceva nu functioneaza?