Pagini recente » Borderou de evaluare (job #2520731) | Borderou de evaluare (job #3293317) | Borderou de evaluare (job #186939) | Borderou de evaluare (job #2398581) | Borderou de evaluare (job #2628218)
Borderou de evaluare (job #2628218)
Raport evaluator
Compilare:
In file included from main.c:2:0:
main.c: In function 'read':
main.c:8:24: warning: implicit declaration of function 'getchar_unlocked' [-Wimplicit-function-declaration]
while (!isdigit(ch=getchar_unlocked()));
^
main.c: In function 'print':
main.c:21:9: warning: implicit declaration of function 'putchar_unlocked' [-Wimplicit-function-declaration]
putchar_unlocked(a%10+'0');
^~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:42:71: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
seg[k][i][j]=max(seg[k-1][i][j], seg[k-1][i][j + (1<<k-1)], seg[k-1][i + (1<<k-1)][j], seg[k-1][i + (1<<k-1)][j + (1<<k-1)]);
~^~
main.c:42:95: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
seg[k][i][j]=max(seg[k-1][i][j], seg[k-1][i][j + (1<<k-1)], seg[k-1][i + (1<<k-1)][j], seg[k-1][i + (1<<k-1)][j + (1<<k-1)]);
~^~
main.c:42:122: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
seg[k][i][j]=max(seg[k-1][i][j], seg[k-1][i][j + (1<<k-1)], seg[k-1][i + (1<<k-1)][j], seg[k-1][i + (1<<k-1)][j + (1<<k-1)]);
~^~
main.c:42:136: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
seg[k][i][j]=max(seg[k-1][i][j], seg[k-1][i][j + (1<<k-1)], seg[k-1][i + (1<<k-1)][j], seg[k-1][i + (1<<k-1)][j + (1<<k-1)]);
~^~
main.c:31:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatie.in", "r", stdin);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:32:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatie.out", "w", stdout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 3ms | 393kb | OK | 10 | 10 |
3 | 4ms | 786kb | OK | 10 | 10 |
4 | 6ms | 1310kb | OK | 10 | 10 |
5 | 9ms | 2097kb | OK | 10 | 10 |
6 | 16ms | 2883kb | OK | 10 | 50 |
7 | 26ms | 4718kb | OK | 10 |
8 | 38ms | 6553kb | OK | 10 |
9 | 53ms | 8519kb | OK | 10 |
10 | 56ms | 8519kb | OK | 10 |
Punctaj total | 100 |