Borderou de evaluare (job #1639342)

Utilizator Aquaryus01Alex Benchea Aquaryus01 Data 8 martie 2016 11:52:22
Problema Strabunica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void citeste()’: user.cpp:28:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &sir[j]); ^ user.cpp: In function ‘void scrie()’: user.cpp:44:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d", maxim); ^ user.cpp: In function ‘void citeste()’: user.cpp:20:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("strabunica.in", "r", stdin); ^ user.cpp:21:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("strabunica.out", "w", stdout); ^ user.cpp:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:28:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &sir[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms264kbOK10
34ms268kbOK10
4Depăşit272kbTime limit exceeded.0
5Depăşit276kbTime limit exceeded.0
6Depăşit276kbTime limit exceeded.0
7Depăşit276kbTime limit exceeded.0
8Depăşit272kbTime limit exceeded.0
9Depăşit268kbTime limit exceeded.0
10Depăşit264kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?