Borderou de evaluare (job #1483083)

Utilizator SilviuIIon Silviu SilviuI Data 8 septembrie 2015 17:50:19
Problema Prefix2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",nr); ^ user.cpp:41:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix2.in","r",stdin); ^ user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix2.out","w",stdout); ^ user.cpp:43:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); n=strlen(s+1); root=new trie; ^ /tmp/cciscDbk.o: In function `main': user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbKilled by signal 11(SIGSEGV).0
20ms248kbKilled by signal 11(SIGSEGV).0
30ms272kbKilled by signal 11(SIGSEGV).0
40ms264kbKilled by signal 11(SIGSEGV).0
50ms268kbKilled by signal 11(SIGSEGV).0
60ms276kbKilled by signal 11(SIGSEGV).0
70ms312kbKilled by signal 11(SIGSEGV).0
80ms348kbKilled by signal 11(SIGSEGV).0
90ms356kbKilled by signal 11(SIGSEGV).0
100ms348kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?