Pagini recente » Borderou de evaluare (job #1999042) | Borderou de evaluare (job #785864) | Borderou de evaluare (job #1905296) | Borderou de evaluare (job #831156) | Borderou de evaluare (job #1746853)
Borderou de evaluare (job #1746853)
Raport evaluator
Compilare:
user.cpp: In function ‘void make_sfx()’:
user.cpp:36:29: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
if(i + (1 << lg - 1) < len)
^
user.cpp:37: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:71:11: warning: unused variable ‘c’ [-Wunused-variable]
c = a;
^
user.cpp: In function ‘int main()’:
user.cpp:102:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in", "r", stdin);
^
user.cpp:103:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out", "w", stdout);
^
user.cpp:105:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:107:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str + i * 64);
^
user.cpp:108:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&m);
^
user.cpp:112:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str + len);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:107:27:
/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);
^
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:112:24:
/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/cceMD5Xr.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 228ms | 6400kb | OK | 10 |
| 2 | 116ms | 2924kb | OK | 10 |
| 3 | 232ms | 3852kb | OK | 10 |
| 4 | Depăşit | 8868kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 7788kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 7728kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 8024kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 13592kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 14248kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 16656kb | Time limit exceeded. | 0 |
| Punctaj total | 30 |