Borderou de evaluare (job #2156931)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 9 martie 2018 09:03:04
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:36:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sudest.in", "r", stdin); ^ user.cpp:37:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sudest.out", "w", stdout); ^ user.cpp:40:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:44:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &mat[i][j]); ^ user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:50:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &arr[i]); ^ user.cpp:49:23: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized] for (int i = 1; i <= k; ++i) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
152msDepăşitMemory limit exceeded.0
252msDepăşitMemory limit exceeded.0
348msDepăşitMemory limit exceeded.0
452msDepăşitMemory limit exceeded.0
548msDepăşitMemory limit exceeded.0
652msDepăşitMemory limit exceeded.0
752msDepăşitMemory limit exceeded.0
852msDepăşitMemory limit exceeded.0
90ms756kbKilled by signal 11(SIGSEGV).0
1048msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?