Borderou de evaluare (job #1888025)

Utilizator delia_ioanaCeapa Delia Ioana delia_ioana Data 21 februarie 2017 21:28:47
Problema Jocul Flip Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

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
10ms448kbOk!10
28ms448kbOk!10
30ms444kbOk!10
4Depăşit424kbTime limit exceeded.0
520ms468kbOk!10
6Depăşit440kbTime limit exceeded.0
7Depăşit448kbTime limit exceeded.0
8Depăşit456kbTime limit exceeded.0
9Depăşit456kbTime limit exceeded.0
10Depăşit452kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?