Borderou de evaluare (job #1288908)

Utilizator smaraldaSmaranda Dinu smaralda Data 9 decembrie 2014 10:21:19
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
10ms284kbKeep up the good work10
20ms284kbKeep up the good work10
30ms284kbKeep up the good work10
40ms276kbKeep up the good work10
50ms284kbKeep up the good work10
60ms276kbKeep up the good work10
70ms276kbKeep up the good work10
80ms284kbKeep up the good work10
90ms284kbWrong Answer0
100ms284kbKeep up the good work10
Punctaj total90

Ceva nu functioneaza?