Pagini recente » Borderou de evaluare (job #1592287) | Borderou de evaluare (job #1035564) | Borderou de evaluare (job #1503762) | Borderou de evaluare (job #2837620) | Borderou de evaluare (job #1479341)
Borderou de evaluare (job #1479341)
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 |
1 | 40ms | Depăşit | Memory limit exceeded. | 0 | 0 |
2 | Depăşit | 7292kb | Time limit exceeded. | 0 |
3 | 56ms | 2008kb | Incorect | 0 |
4 | Depăşit | 7908kb | Time limit exceeded. | 0 |
5 | 40ms | Depăşit | Memory limit exceeded. | 0 |
6 | 20ms | Depăşit | Memory limit exceeded. | 0 |
7 | 20ms | Depăşit | Memory limit exceeded. | 0 |
8 | 20ms | Depăşit | Memory limit exceeded. | 0 |
9 | 20ms | Depăşit | Memory limit exceeded. | 0 |
10 | 36ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |