Borderou de evaluare (job #2716885)

Utilizator vansJos da pa perete vans Data 5 martie 2021 20:49:50
Problema Tablou Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tablou.in", "r", stdin); ^ main.cpp:20:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("tablou.out", "w", stdout); ^ main.cpp:21:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:25:76: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] a[i][j] = x - '0' + a[i - 1][j] + a[i][j - 1] - a[i - 1][j - 1]; ^ main.cpp:26:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &k); ^ main.cpp:29:86: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] st += (s[i] = a[n][m] - sumdr() + 1ll * (i2 - i1 + 1) * (j2 - j_1 + 1) * val); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
213ms1310kbOK10
312ms1310kbOK10
41352ms72220kbOK10
51641ms72232kbOK10
61554ms72220kbOK10
7384ms14811kbOK10
8385ms14942kbOK10
91720ms74842kbOK10
101737ms74870kbOK10
Punctaj total100

Ceva nu functioneaza?