Borderou de evaluare (job #1455913)

Utilizator GilgodRobert B Gilgod Data 29 iunie 2015 13:57:34
Problema Facebook Search Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read_data()’: user.cpp:127:25: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(IN, "r", stdin); ^ user.cpp:129:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:131:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &N, &Q); ^ user.cpp:133:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(nume); ^ user.cpp:141:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c ", &type); ^ user.cpp:142:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] if (type == 'U') scanf("%s %d\n", nume, &val); ^ user.cpp:143:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] else scanf("%s\n", nume); ^ /tmp/ccLlyZRz.o: In function `read_data()': user.cpp:(.text._Z9read_datav[_Z9read_datav]+0xc6): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms660kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?