Borderou de evaluare (job #1408732)

Utilizator Cristian1997Vintur Cristian Cristian1997 Data 30 martie 2015 11:03:38
Problema Pufarina Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j, t, n, x, y, p2max, p5max, p2, p5, nr; ^ user.cpp:11:27: warning: variable ‘p2max’ set but not used [-Wunused-but-set-variable] int i, j, t, n, x, y, p2max, p5max, p2, p5, nr; ^ user.cpp:11:34: warning: variable ‘p5max’ set but not used [-Wunused-but-set-variable] int i, j, t, n, x, y, p2max, p5max, p2, p5, nr; ^ user.cpp:11:41: warning: unused variable ‘p2’ [-Wunused-variable] int i, j, t, n, x, y, p2max, p5max, p2, p5, nr; ^ user.cpp:11:45: warning: unused variable ‘p5’ [-Wunused-variable] int i, j, t, n, x, y, p2max, p5max, p2, p5, nr; ^ user.cpp:11:49: warning: unused variable ‘nr’ [-Wunused-variable] int i, j, t, n, x, y, p2max, p5max, p2, p5, nr; ^ user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pufarina.in", "r", stdin); ^ user.cpp:9:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pufarina.out", "w", stdout); ^ user.cpp:41:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d", &t); t; --t) ^ user.cpp:43:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:49:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d.%d ", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbIncorect0
Punctaj total0

Ceva nu functioneaza?