Borderou de evaluare (job #1417338)

Utilizator alexandru.huleaAlexandru Hulea alexandru.hulea Data 10 aprilie 2015 03:43:58
Problema Note Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:29: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%i", &matrix[i][j]); ^ user.cpp:27:22: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%i", sir + i); ^ user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("note.in", "r", stdin); ^ user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("note.out", "w", stdout); ^ user.cpp:14:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &v); ^ user.cpp:15:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &n); ^ user.cpp:20:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &matrix[i][j]); ^ user.cpp:24:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &m); ^ user.cpp:27:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", sir + i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbOK10
20ms444kbOK10
30ms444kbOK10
40ms416kbKilled by signal 6(SIGABRT).0
50ms416kbKilled by signal 6(SIGABRT).0
6128ms4676kbOK10
7Depăşit5020kbTime limit exceeded.0
820ms4548kbOK10
9Depăşit4828kbTime limit exceeded.0
1016ms2756kbOK10
Punctaj total60

Ceva nu functioneaza?