Borderou de evaluare (job #1479341)

Utilizator theprdvtheprdv theprdv Data 31 august 2015 07:51:31
Problema Dictree Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int LCP(int, int)’: user.cpp:30:26: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] if (Part[x] != Part[x + 1 << k] || Part[y] != Part[y + 1 << k]) return ret; ^ user.cpp:30:57: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] if (Part[x] != Part[x + 1 << k] || Part[y] != Part[y + 1 << k]) return ret; ^ user.cpp: In function ‘int main()’: user.cpp:42:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &M); ^ user.cpp:46:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(A + pos); ^ In file included from /usr/include/stdio.h:934:0, from user.cpp:2: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:46:16: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/ccmu1IIj.o: In function `main': user.cpp:(.text.startup+0x8c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
140msDepăşitMemory limit exceeded.00
2Depăşit7292kbTime limit exceeded.0
356ms2008kbIncorect0
4Depăşit7908kbTime limit exceeded.0
540msDepăşitMemory limit exceeded.0
620msDepăşitMemory limit exceeded.0
720msDepăşitMemory limit exceeded.0
820msDepăşitMemory limit exceeded.0
920msDepăşitMemory limit exceeded.0
1036msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?