Borderou de evaluare (job #1286467)

Utilizator mucalmicmarcel almic mucalmic Data 7 decembrie 2014 12:38:40
Problema Magic Sequence Status done
Runda Algoritmiada 2015 - Runda 1, Juniori Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:53:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (mi[i] = ma[i]) { ^ user.cpp:21:8: warning: variable ‘f’ set but not used [-Wunused-but-set-variable] FILE *f, *g; ^ user.cpp:21:12: warning: variable ‘g’ set but not used [-Wunused-but-set-variable] FILE *f, *g; ^ user.cpp:25:9: warning: unused variable ‘j’ [-Wunused-variable] int i, j, k, n, x, y, d, s, t, tst, ok; ^ user.cpp:25:12: warning: unused variable ‘k’ [-Wunused-variable] int i, j, k, n, x, y, d, s, t, tst, ok; ^ user.cpp:25:18: warning: unused variable ‘x’ [-Wunused-variable] int i, j, k, n, x, y, d, s, t, tst, ok; ^ user.cpp:25:21: warning: unused variable ‘y’ [-Wunused-variable] int i, j, k, n, x, y, d, s, t, tst, ok; ^ user.cpp:25:24: warning: unused variable ‘d’ [-Wunused-variable] int i, j, k, n, x, y, d, s, t, tst, ok; ^ user.cpp:25:27: warning: unused variable ‘s’ [-Wunused-variable] int i, j, k, n, x, y, d, s, t, tst, ok; ^ user.cpp:26:12: warning: unused variable ‘rez’ [-Wunused-variable] long long rez; ^ user.cpp:27:7: warning: unused variable ‘c’ [-Wunused-variable] char c; ^ user.cpp:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tst); ^ user.cpp:33:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:35:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[0]); ^ user.cpp:39:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbIncorect0
20ms432kbIncorect0
30ms448kbIncorect0
416ms552kbIncorect0
520ms552kbIncorect0
648ms612kbIncorect0
764ms644kbIncorect0
84ms448kbIncorect0
960ms552kbIncorect0
10112ms660kbIncorect0
Punctaj total0

Ceva nu functioneaza?