Pagini recente » Borderou de evaluare (job #1922822) | Borderou de evaluare (job #2181379) | Borderou de evaluare (job #3127760) | Borderou de evaluare (job #648728) | Borderou de evaluare (job #1746867)
Borderou de evaluare (job #1746867)
Raport evaluator
Compilare:
user.cpp: In function ‘void make_sfx()’:
user.cpp:38:29: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
if(i + (1 << lg - 1) < len)
^
user.cpp:39: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:73:11: warning: unused variable ‘c’ [-Wunused-variable]
c = a;
^
user.cpp: In function ‘int qrmq(int, int)’:
user.cpp:92:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:112: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:113: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:115:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:117:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str + i * 64);
^
user.cpp:118:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&m);
^
user.cpp:122: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:117: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:122: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/cceGA8V5.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 | 6380kb | Incorect | 0 |
2 | 112ms | 2896kb | Incorect | 0 |
3 | 176ms | 3824kb | Incorect | 0 |
4 | Depăşit | 8872kb | Time limit exceeded. | 0 |
5 | Depăşit | 7780kb | 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 | 16652kb | Time limit exceeded. | 0 |
Punctaj total | 0 |