Pagini recente » Borderou de evaluare (job #1582752) | Borderou de evaluare (job #15984) | Borderou de evaluare (job #1855875) | Borderou de evaluare (job #1984136) | Borderou de evaluare (job #1746884)
Borderou de evaluare (job #1746884)
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:80: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:81: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:86: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:87:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccqeb8n3.o: In function `main':
user.cpp:(.text.startup+0x7c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1564kb | Time limit exceeded. | 0 |
2 | Depăşit | 1572kb | Time limit exceeded. | 0 |
3 | Depăşit | 1568kb | Time limit exceeded. | 0 |
4 | 48ms | 732kb | OK | 10 |
5 | Depăşit | 1468kb | Time limit exceeded. | 0 |
6 | Depăşit | 1464kb | Time limit exceeded. | 0 |
7 | 0ms | 512kb | Incorect | 0 |
8 | 8ms | 540kb | OK | 10 |
9 | 8ms | 532kb | OK | 10 |
10 | Depăşit | 1296kb | Time limit exceeded. | 0 |
Punctaj total | 30 |