Borderou de evaluare (job #1743608)

Utilizator dragomirmanuelDragomir Manuel dragomirmanuel Data 18 august 2016 14:16:09
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:32:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d",&ch[i]); ^ user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&N,&K); ^ user.cpp:32:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&ch[i]); ^ user.cpp:34:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&M); ^ user.cpp:38:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&x,&y,&z,&t); ^ user.cpp: In function ‘int main()’: user.cpp:104:39: 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:105:41: 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
10ms704kbOK10
248ms1844kbOK10
3Depăşit8692kbTime limit exceeded.0
4Depăşit9440kbTime limit exceeded.0
5Depăşit6680kbTime limit exceeded.0
6Depăşit20104kbTime limit exceeded.0
7Depăşit19260kbTime limit exceeded.0
8Depăşit28212kbTime limit exceeded.0
90ms660kbOK10
10Depăşit17400kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?