Borderou de evaluare (job #1455912)

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

Raport evaluator

Compilare: user.cpp: In function ‘void find_res(node*, char*, char*, int)’: user.cpp:73:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] || crt->relevanta == res_imp && crt->len < res_len) ^ user.cpp:84:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] || crt->relevanta == res_imp && crt->len < res_len) ^ user.cpp:98:8: warning: unused variable ‘opt1’ [-Wunused-variable] bool opt1 = false; ^ user.cpp:109:8: warning: unused variable ‘opt’ [-Wunused-variable] bool opt = false; ^ user.cpp: In function ‘void read_data()’: user.cpp:129: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:131:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:133: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:135:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(nume); ^ user.cpp:143:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c ", &type); ^ user.cpp:144: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:145:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] else scanf("%s\n", nume); ^ /tmp/ccbtry4e.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?