Pagini recente » Borderou de evaluare (job #2389911) | Borderou de evaluare (job #2358169) | Borderou de evaluare (job #1797600) | Borderou de evaluare (job #2265914) | Borderou de evaluare (job #1359330)
Borderou de evaluare (job #1359330)
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 verif2(int, BoundingBox, bool*)’:
user.cpp:78:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (h [i] == 0)
^
user.cpp:90:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (h [i] == 0)
^
user.cpp:106:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (h [i] == 0)
^
user.cpp:119:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (h [i] == 0)
^
user.cpp: In function ‘bool verif(int, BoundingBox, bool*)’:
user.cpp:140:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (h [i] == 0)
^
user.cpp:160:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (h [i] == 0)
^
user.cpp:180:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (h [i] == 0)
^
user.cpp:200:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (h [i] == 0)
^
user.cpp: In function ‘int main()’:
user.cpp:228: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 |
| 1 | 0ms | 368kb | OK | 4 |
| 2 | 0ms | 364kb | OK | 4 |
| 3 | 0ms | 360kb | OK | 4 |
| 4 | 0ms | 368kb | OK | 4 |
| 5 | 0ms | 372kb | OK | 4 |
| 6 | 0ms | 380kb | OK | 4 |
| 7 | 0ms | 380kb | OK | 4 |
| 8 | 0ms | 392kb | OK | 4 |
| 9 | 4ms | 404kb | OK | 4 |
| 10 | 4ms | 420kb | OK | 4 |
| 11 | 8ms | 432kb | OK | 4 |
| 12 | 8ms | 464kb | OK | 4 |
| 13 | 12ms | 480kb | OK | 4 |
| 14 | 16ms | 500kb | OK | 4 |
| 15 | 20ms | 516kb | OK | 4 |
| 16 | 16ms | 528kb | OK | 4 |
| 17 | 12ms | 552kb | OK | 4 |
| 18 | 36ms | 572kb | OK | 4 |
| 19 | 44ms | 592kb | OK | 4 |
| 20 | 40ms | 624kb | OK | 4 |
| 21 | 40ms | 656kb | OK | 4 |
| 22 | 56ms | 696kb | OK | 4 |
| 23 | 36ms | 728kb | OK | 4 |
| 24 | 72ms | 772kb | OK | 4 |
| 25 | 80ms | 816kb | OK | 4 |
| Punctaj total | 100 |