Borderou de evaluare (job #1843227)

Utilizator mariakKapros Maria mariak Data 8 ianuarie 2017 14:04:11
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/cc1iwI99.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
10ms492kbOK10
212ms536kbIncorect0
3Depăşit508kbTime limit exceeded.0
40ms488kbIncorect0
50ms508kbIncorect0
6Depăşit472kbTime limit exceeded.0
70ms472kbOK10
8Depăşit512kbTime limit exceeded.0
9Depăşit516kbTime limit exceeded.0
10Depăşit524kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?