Borderou de evaluare (job #1358517)

Utilizator SmarandaMaria Pandele Smaranda Data 24 februarie 2015 17:35:07
Problema Patrate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 68

Raport evaluator

Compilare: user.cpp:40:29: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] myIfstream fin ("patrate.in"); ^ user.cpp: In function ‘bool verif(int, BoundingBox, int, bool*)’: user.cpp:83:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (h [i] == 0) ^ user.cpp:103:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (h [i] == 0) ^ user.cpp:123:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (h [i] == 0) ^ user.cpp:143:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (h [i] == 0) ^ user.cpp: In function ‘int main()’: user.cpp:171:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("patrate.out", "w", stdout); ^ user.cpp: In member function ‘void myIfstream::advance()’: user.cpp:18:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (buffer, 1, SIZE, input); ^ user.cpp: In constructor ‘myIfstream::myIfstream(char*)’: user.cpp:25:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread (buffer, 1, SIZE, input); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms416kbOK4
24ms416kbOK4
30ms416kbOK4
44ms420kbOK4
54ms416kbOK4
612ms432kbOK4
78ms436kbOK4
812ms444kbOK4
920ms456kbOK4
1024ms472kbOK4
1148ms492kbOK4
1256ms508kbOK4
1372ms532kbOK4
1476ms552kbOK4
15120ms564kbOK4
1680ms580kbOK4
1756ms604kbOK4
18Depăşit596kbTime limit exceeded.0
19Depăşit628kbTime limit exceeded.0
20Depăşit660kbTime limit exceeded.0
21Depăşit688kbTime limit exceeded.0
22Depăşit720kbTime limit exceeded.0
23Depăşit784kbTime limit exceeded.0
24Depăşit800kbTime limit exceeded.0
25Depăşit840kbTime limit exceeded.0
Punctaj total68

Ceva nu functioneaza?