Borderou de evaluare (job #2165554)

Utilizator andrei_diaconu11Andrei C. Diaconu andrei_diaconu11 Data 13 martie 2018 12:39:03
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
10ms1484kbKilled by signal 6(SIGABRT).0
20ms1492kbKilled by signal 6(SIGABRT).0
30ms1744kbKilled by signal 6(SIGABRT).0
44ms2020kbKilled by signal 6(SIGABRT).0
54ms4372kbKilled by signal 6(SIGABRT).0
68ms4512kbKilled by signal 6(SIGABRT).0
78ms4708kbKilled by signal 6(SIGABRT).0
812msDepăşitMemory limit exceeded.0
936msDepăşitMemory limit exceeded.0
100ms1340kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?