Borderou de evaluare (job #2628214)

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

Raport evaluator

Compilare: main.c: In function 'main': main.c:25: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:25: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:25: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:25: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:15:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:20:13: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &seg[0][i][j]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:29:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d", &i, &j, &k); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
23ms393kbOK1010
35ms786kbOK1010
49ms1310kbOK1010
518ms2097kbOK1010
635ms2883kbOK1050
766ms4718kbOK10
8107ms6684kbOK10
9157ms8519kbOK10
10168ms8650kbOK10
Punctaj total100

Ceva nu functioneaza?