Borderou de evaluare (job #1858908)

Utilizator rangalIstrate Sebastian rangal Data 27 ianuarie 2017 16:43:22
Problema Costuri Status done
Runda PreOJI 2017 Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d",&v[i]); ^ user.cpp:22:26: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(in,"r",stdin); ^ user.cpp:24:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:28:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^ user.cpp:34:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&Q); ^ user.cpp:41:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&P,&C); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK10
20ms436kbOK10
30ms436kbOK10
4Depăşit1212kbTime limit exceeded.0
5Depăşit1212kbTime limit exceeded.0
6Depăşit1208kbTime limit exceeded.0
7Depăşit1140kbTime limit exceeded.0
8Depăşit1212kbTime limit exceeded.0
9Depăşit1208kbTime limit exceeded.0
10Depăşit1212kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?