Borderou de evaluare (job #2413385)

Utilizator ioana.jianuIoana Jianu ioana.jianu Data 23 aprilie 2019 12:59:52
Problema Mirror Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:79:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (i == 1 && a[i][poz] == 1 || i > 1 && a[i][poz] == 0 && a[i + 1][poz] == 1) ~~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:84:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (l > lmax || l == lmax && i < dr){ ~~~~~~~~~~^~~~~~~~~ main.cpp:13:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("mirror.in", "r", stdin); ^ main.cpp:14:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("mirror.out", "w", stdout); ^ main.cpp:18:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d", &cerinta, &n, &k); ^ main.cpp:23:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &nr); ^ main.cpp:47:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &nr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
23ms131kbOK10
33ms131kbOK10
47ms786kbOK10
514ms1441kbOK10
6231ms9437kbOK10
742ms3145kbOK10
8171ms12713kbOK10
9114ms10354kbOK10
102ms131kbOK10
Punctaj total100

Ceva nu functioneaza?