Pagini recente » Borderou de evaluare (job #2212811) | Borderou de evaluare (job #1460229) | Borderou de evaluare (job #2559217) | Borderou de evaluare (job #2966761) | Borderou de evaluare (job #2255741)
Borderou de evaluare (job #2255741)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
arr[1 - t & 1][sz1].h = 0;
~~^~~
user.cpp:38:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
arr[1 - t & 1][sz1].pos2 = arr[t & 1][i].pos2;
~~^~~
user.cpp:39:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
arr[1 - t & 1][arr[t & 1][i].pos2].pos1 = sz1;
~~^~~
user.cpp:42:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
arr[1 - t & 1][sz1].h = arr[t & 1][i].h;
~~^~~
user.cpp:43:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
arr[1 - t & 1][sz1].pos2 = arr[t & 1][i].pos2;
~~^~~
user.cpp:44:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
arr[1 - t & 1][arr[t & 1][i].pos2].pos1 = sz2;
~~^~~
user.cpp:49:34: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
ans = max(ans, arr[1 - t & 1][i].h * (m - i + 1));
~~^~~
user.cpp:18:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&n,&m);
^
user.cpp:24:37: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(mat + 1, MAXM + 1, fi);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1332kb | Incorect | 0 |
| 2 | 4ms | 1336kb | Incorect | 0 |
| 3 | 20ms | 1352kb | Incorect | 0 |
| 4 | 96ms | 1352kb | Incorect | 0 |
| 5 | 140ms | 1348kb | Incorect | 0 |
| 6 | 276ms | 1352kb | Incorect | 0 |
| 7 | 312ms | 1352kb | Incorect | 0 |
| 8 | Depăşit | 1344kb | Time limit exceeded. | 0 |
| 9 | 360ms | 1352kb | Incorect | 0 |
| 10 | 360ms | 1348kb | Incorect | 0 |
| Punctaj total | 0 |