Borderou de evaluare (job #1952943)

Utilizator atatomirTatomir Alex atatomir Data 4 aprilie 2017 15:08:54
Problema Rectangles Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In lambda function: user.cpp:221:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (to_remove.size() - 1 >= i) { ^ user.cpp: In function ‘int main()’: user.cpp:267:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < P.size(); i++) P[i].id = i + 1, M[P[i]] = i + 1, rez[i + 1] = P[i]; ^ user.cpp:241:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rectangles.in","r",stdin); ^ user.cpp:242:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rectangles.out","w",stdout); ^ user.cpp:244:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:246:66: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &R[i].x1, &R[i].y1, &R[i].x2, &R[i].y2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms712kbOK1010
248ms3036kbOK1020
348ms3024kbOK10
41416ms61928kbOK100
51952msDepăşitMemory limit exceeded.0
6Depăşit121748kbTime limit exceeded.0
71936msDepăşitMemory limit exceeded.00
81968msDepăşitMemory limit exceeded.0
91968msDepăşitMemory limit exceeded.0
101932msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?