Borderou de evaluare (job #1424025)

Utilizator Cristian1997Vintur Cristian Cristian1997 Data 23 aprilie 2015 11:11:49
Problema Produs4 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j, k, a, n, t, nr, nrP, nrN; ^ user.cpp:14:15: warning: unused variable ‘k’ [-Wunused-variable] int i, j, k, a, n, t, nr, nrP, nrN; ^ user.cpp:14:27: warning: unused variable ‘nr’ [-Wunused-variable] int i, j, k, a, n, t, nr, nrP, nrN; ^ user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("produs4.in", "r", stdin); ^ user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("produs4.out", "w", stdout); ^ user.cpp:17: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:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1120ms448kbOK100
Punctaj total100

Ceva nu functioneaza?