Borderou de evaluare (job #2165565)

Utilizator andrei_diaconu11Andrei C. Diaconu andrei_diaconu11 Data 13 martie 2018 12:41:01
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fi, "%d", &n); ^ user.cpp:41:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(fi, "%d", &mat[i][j]); ^ user.cpp:42:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fi, "%d", &k); ^ user.cpp:44:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(fi, "%d", &mv[i]); ^ user.cpp:38:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi, "%d", &n); ^ user.cpp:41:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi, "%d", &mat[i][j]); ^ user.cpp:42:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi, "%d", &k); ^ user.cpp:44:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi, "%d", &mv[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1372kbKilled by signal 6(SIGABRT).0
20ms1612kbKilled by signal 6(SIGABRT).0
30ms1676kbKilled by signal 6(SIGABRT).0
44ms1896kbKilled by signal 6(SIGABRT).0
54ms4228kbKilled by signal 6(SIGABRT).0
68ms4484kbKilled by signal 6(SIGABRT).0
78ms4624kbKilled by signal 6(SIGABRT).0
812msDepăşitMemory limit exceeded.0
932msDepăşitMemory limit exceeded.0
100ms1224kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?