Borderou de evaluare (job #1891791)

Utilizator Kln1000Ciobanu Bogdan Kln1000 Data 24 februarie 2017 12:29:12
Problema Numere 5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:57:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&a); ^ user.cpp:52:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numere5.in","r",stdin); ^ user.cpp:53:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numere5.out","w",stdout); ^ user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:57:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit312kbTime limit exceeded.00
20ms264kbOK10
3Depăşit312kbTime limit exceeded.0
4Depăşit308kbTime limit exceeded.0
5Depăşit312kbTime limit exceeded.0
6Depăşit312kbTime limit exceeded.00
7Depăşit312kbTime limit exceeded.0
8Depăşit312kbTime limit exceeded.0
9Depăşit312kbTime limit exceeded.0
10Depăşit312kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?