Pagini recente » Borderou de evaluare (job #2118579) | Borderou de evaluare (job #2147092) | Borderou de evaluare (job #1022795) | Borderou de evaluare (job #2865559) | Borderou de evaluare (job #1746885)
Borderou de evaluare (job #1746885)
Raport evaluator
Compilare:
user.cpp: In function ‘void make_sfx()’:
user.cpp:33:29: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
if(i + (1 << lg - 1) < len)
^
user.cpp:34:50: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
l[i].c2 = p[lg - 1][i + (1 << lg - 1)];
^
user.cpp: In function ‘int lcp(int, int)’:
user.cpp:52:11: warning: unused variable ‘c’ [-Wunused-variable]
c = a;
^
user.cpp: In function ‘int main()’:
user.cpp:66:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.in", "r", stdin);
^
user.cpp:67:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.out", "w", stdout);
^
user.cpp:72:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d ",&len,&k);
^
user.cpp:73:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccGpNG4E.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 56ms | 1608kb | OK | 10 |
2 | 56ms | 1604kb | OK | 10 |
3 | 56ms | 1608kb | OK | 10 |
4 | 8ms | 736kb | OK | 10 |
5 | 48ms | 1512kb | OK | 10 |
6 | 48ms | 1508kb | OK | 10 |
7 | 0ms | 516kb | Incorect | 0 |
8 | 0ms | 544kb | OK | 10 |
9 | 0ms | 548kb | OK | 10 |
10 | 36ms | 1332kb | OK | 10 |
Punctaj total | 90 |