Borderou de evaluare (job #2325204)

Utilizator ialexia_ioanaAlexia Ichim ialexia_ioana Data 22 ianuarie 2019 11:07:20
Problema Elicop Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int suma_elicop(int, int, int, int, int)': main.cpp:10:20: warning: variable 'k' set but not used [-Wunused-but-set-variable] int i, j, s=0, k; ^ main.cpp: In function 'int main()': main.cpp:56:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=] scanf("%d", &a[i][j]); ^ main.cpp:49:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("elicop.in", "r", stdin); ^ main.cpp:50:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("elicop.out", "w", stdout); ^ main.cpp:52: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:56:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]); ^ main.cpp:58:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &c); ^ main.cpp:62:52: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d", &l1, &c1, &l2, &c2, &d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbLike a boss !10
22ms131kbLike a boss !10
32ms131kbLike a boss !10
42ms131kbLike a boss !10
52ms131kbLike a boss !10
62ms131kbLike a boss !10
74ms131kbLike a boss !10
84ms131kbLike a boss !10
94ms131kbLike a boss !10
104ms131kbLike a boss !10
Punctaj total100

Ceva nu functioneaza?