Borderou de evaluare (job #1288919)

Utilizator smaraldaSmaranda Dinu smaralda Data 9 decembrie 2014 10:30:13
Problema Prieteni Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:15: warning: unused variable ‘j’ [-Wunused-variable] int n, i, j, len, sum; ^ user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prieteni.in", "r", stdin); ^ user.cpp:11:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prieteni.out", "w", stdout); ^ user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] sum += d[i]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbKeep up the good work10
20ms272kbKeep up the good work10
30ms268kbKeep up the good work10
40ms276kbKeep up the good work10
50ms276kbKeep up the good work10
60ms272kbKeep up the good work10
70ms272kbKeep up the good work10
80ms272kbKeep up the good work10
90ms276kbWrong Answer0
100ms268kbKeep up the good work10
Punctaj total90

Ceva nu functioneaza?