Borderou de evaluare (job #1888102)

Utilizator delia_ioanaCeapa Delia Ioana delia_ioana Data 21 februarie 2017 22:12:18
Problema Text Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void flipColumns(std::vector<std::vector<int> >&)’: user.cpp:12:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < matrix[0].size(); j ++) { ^ user.cpp:15:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < matrix.size(); i ++) { ^ user.cpp: In function ‘void flipLines(std::vector<std::vector<int> >&, int, bool)’: user.cpp:34:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (k == matrix.size()) { ^ user.cpp:39:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < matrix[0].size(); i ++) { ^ user.cpp: In function ‘int main()’: user.cpp:50:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flip.in", "r", stdin); ^ user.cpp:51:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flip.out", "w", stdout); ^ user.cpp:55:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:61:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &matrix[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms584kbKilled by signal 6(SIGABRT).0
24ms584kbKilled by signal 6(SIGABRT).0
34ms580kbKilled by signal 6(SIGABRT).0
44ms580kbKilled by signal 6(SIGABRT).0
54ms584kbKilled by signal 6(SIGABRT).0
64ms580kbKilled by signal 6(SIGABRT).0
74ms580kbKilled by signal 6(SIGABRT).0
84ms580kbKilled by signal 6(SIGABRT).0
94ms580kbKilled by signal 6(SIGABRT).0
104ms580kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?