Borderou de evaluare (job #1843209)

Utilizator mariakKapros Maria mariak Data 8 ianuarie 2017 13:45:31
Problema Lant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:29:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &K); ^ user.cpp:30:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:51:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/cc7CAjsF.o: In function `read()': user.cpp:(.text+0xa0): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms500kbOK10
212ms568kbIncorect0
3Depăşit632kbTime limit exceeded.0
40ms504kbIncorect0
50ms516kbIncorect0
6Depăşit496kbTime limit exceeded.0
70ms476kbOK10
848msDepăşitMemory limit exceeded.0
9Depăşit636kbTime limit exceeded.0
1048msDepăşitMemory limit exceeded.0
Punctaj total20

Ceva nu functioneaza?