Borderou de evaluare (job #1740424)

Utilizator calin1Serban Calin calin1 Data 11 august 2016 16:21:35
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:118:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&k); ^ user.cpp:123:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&x); ^ user.cpp:127:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:130:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&m); ^ user.cpp:137:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d\n",&a,&x.varf,&x.timp,&x.cost); ^ user.cpp: In function ‘int main()’: user.cpp:153:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lanterna.in","r",stdin); ^ user.cpp:154:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lanterna.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit640kbTime limit exceeded.0
2Depăşit620kbTime limit exceeded.0
3Depăşit616kbTime limit exceeded.0
4Depăşit612kbTime limit exceeded.0
5Depăşit624kbTime limit exceeded.0
6Depăşit592kbTime limit exceeded.0
7Depăşit600kbTime limit exceeded.0
80ms668kbIncorect0
90ms460kbOK10
10Depăşit612kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?