Borderou de evaluare (job #1286252)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:8: warning: variable ‘f’ set but not used [-Wunused-but-set-variable] FILE *f, *g; ^ user.cpp:19:12: warning: variable ‘g’ set but not used [-Wunused-but-set-variable] FILE *f, *g; ^ user.cpp:23:9: warning: unused variable ‘j’ [-Wunused-variable] int i, j, k, n, x, y, d, s, t, tst, ok; ^ user.cpp:23:12: warning: unused variable ‘k’ [-Wunused-variable] int i, j, k, n, x, y, d, s, t, tst, ok; ^ user.cpp:23:18: warning: unused variable ‘x’ [-Wunused-variable] int i, j, k, n, x, y, d, s, t, tst, ok; ^ user.cpp:23:21: warning: unused variable ‘y’ [-Wunused-variable] int i, j, k, n, x, y, d, s, t, tst, ok; ^ user.cpp:23:24: warning: unused variable ‘d’ [-Wunused-variable] int i, j, k, n, x, y, d, s, t, tst, ok; ^ user.cpp:23:27: warning: unused variable ‘s’ [-Wunused-variable] int i, j, k, n, x, y, d, s, t, tst, ok; ^ user.cpp:24:12: warning: unused variable ‘rez’ [-Wunused-variable] long long rez; ^ user.cpp:26:7: warning: unused variable ‘c’ [-Wunused-variable] char c; ^ user.cpp:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tst); ^ user.cpp:32:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:35: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
10ms428kbOK10
20ms432kbIncorect0
30ms436kbIncorect0
412ms472kbIncorect0
520ms468kbIncorect0
636ms484kbIncorect0
760ms496kbIncorect0
84ms432kbIncorect0
952ms468kbIncorect0
10124ms504kbIncorect0
Punctaj total10

Ceva nu functioneaza?