Borderou de evaluare (job #1810266)

Utilizator akaprosAna Kapros akapros Data 19 noiembrie 2016 20:20:19
Problema Sir8 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void words()’: user.cpp:131:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &m); ^ user.cpp:134:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(w); ^ user.cpp: In function ‘void read()’: user.cpp:143:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp: In function ‘void write()’: user.cpp:152:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ user.cpp:157:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &ty); ^ user.cpp:159:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &pos, &idx, &a, &b); ^ user.cpp:161:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %c %d %d", &pos, &ch, &a, &b); ^ /tmp/ccjSpLtl.o: In function `words()': user.cpp:(.text+0x575): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1148ms5612kbOK10
296ms5688kbOK10
31056ms7396kbOK10
4892ms7360kbOK10
5876ms7412kbOK10
6900ms7524kbOK10
7932ms7524kbOK10
8976ms7524kbOK10
9912ms7512kbOK10
10892ms7540kbOK10
Punctaj total100

Ceva nu functioneaza?