Borderou de evaluare (job #1607929)

Utilizator Marcel.DragosMarcel Dragos Ignat Marcel.Dragos Data 21 februarie 2016 18:39:46
Problema Perle Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:6:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] {freopen("perle.in", "r", stdin); ^ user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("perle.out", "w", stdout); ^ user.cpp:8:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:10:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] {scanf("%d", &nr); ^ user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbOK!10
20ms440kbRaspuns gresit!0
30ms432kbRaspuns gresit!0
40ms440kbRaspuns gresit!0
50ms440kbRaspuns gresit!0
60ms424kbRaspuns gresit!0
70ms440kbRaspuns gresit!0
84ms456kbRaspuns gresit!0
98ms468kbRaspuns gresit!0
1012ms472kbRaspuns gresit!0
Punctaj total10

Ceva nu functioneaza?