Borderou de evaluare (job #1288906)

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

Ceva nu functioneaza?