Borderou de evaluare (job #1440149)

Utilizator thecoreUPB-Catana-Oprea-Poenaru thecore Data 23 mai 2015 11:36:18
Problema Largest Root Status done
Runda ACM-ICPC Faza Nationala 2015-2016 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void sub(int*, int*)’: user.cpp:26:9: warning: unused variable ‘xxx’ [-Wunused-variable] int xxx = 0; ^ user.cpp: In function ‘bool verify(int)’: user.cpp:125:13: warning: unused variable ‘xx’ [-Wunused-variable] int xx = 0; ^ user.cpp:130:9: warning: unused variable ‘xxxx’ [-Wunused-variable] int xxxx = 0; ^ user.cpp:131:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int cauta()’: user.cpp:151:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘void citeste(int)’: user.cpp:156:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp: In function ‘int main()’: user.cpp:177:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("largestroot.in", "r", stdin); ^ user.cpp:178:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("largestroot.out", "w", stdout); ^ user.cpp:179:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:182:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:184:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccnBDH5G.o: In function `citeste(int)': user.cpp:(.text+0x636): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms788kbIncorect0
Punctaj total0

Ceva nu functioneaza?