Borderou de evaluare (job #2628218)

Utilizator k2e0e0w3qDumitrescu Gheorghe k2e0e0w3q Data 15 iunie 2020 01:50:21
Problema Plantatie Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 100

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
12ms131kbOK1010
23ms393kbOK1010
34ms786kbOK1010
46ms1310kbOK1010
59ms2097kbOK1010
616ms2883kbOK1050
726ms4718kbOK10
838ms6553kbOK10
953ms8519kbOK10
1056ms8519kbOK10
Punctaj total100

Ceva nu functioneaza?