Borderou de evaluare (job #1440227)

Utilizator thecoreUPB-Catana-Oprea-Poenaru thecore Data 23 mai 2015 11:54:42
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 ‘bool verify(int)’: user.cpp:93:13: warning: unused variable ‘xxx’ [-Wunused-variable] int xxx = 3; ^ user.cpp:108:13: warning: unused variable ‘xx’ [-Wunused-variable] int xx = 0; ^ user.cpp:113:9: warning: unused variable ‘xxxx’ [-Wunused-variable] int xxxx = 0; ^ user.cpp:114:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int cauta()’: user.cpp:134:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘void citeste(int)’: user.cpp:139: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:160: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:161: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:162:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:165:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ In file included from /usr/include/string.h:642:0, from /usr/include/c++/4.8/cstring:42, from user.cpp:2: In function ‘void* memset(void*, int, size_t)’, inlined from ‘void init()’ at user.cpp:118:25: /usr/include/i386-linux-gnu/bits/string3.h:85:70: warning: call to void* __builtin___memset_chk(void*, int, unsigned int, unsigned int) will always overflow destination buffer [enabled by default] return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); ^ /tmp/cc1Qcgyy.o: In function `citeste(int)': user.cpp:(.text+0x626): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms344kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?