Pagini recente » Borderou de evaluare (job #1664198) | Borderou de evaluare (job #153188) | Borderou de evaluare (job #907407) | Borderou de evaluare (job #2625504) | Borderou de evaluare (job #1299617)
Borderou de evaluare (job #1299617)
Raport evaluator
Compilare:
user.cpp: In function ‘unsigned int caut(unsigned int, unsigned int)’:
user.cpp:25:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(b>v[a][u])
^
user.cpp:31:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v[a][mij]>=b)
^
user.cpp:39:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v[a][y]==b)
^
user.cpp: In function ‘int main()’:
user.cpp:66:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x=alf[s[i]];
^
user.cpp:72:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
hsh[j]=(hsh[j]-(p[j-1]*alf[s[i-j]])%mod+mod)%mod;
^
user.cpp:46:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.in", "r", stdin);
^
user.cpp:47:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.out", "w", stdout);
^
user.cpp:48:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:57:17: warning: iteration 8u invokes undefined behavior [-Waggressive-loop-optimizations]
alf[i]=x;
^
user.cpp:54:5: note: containing loop
for(i='a';i<='z';i++)
^
/tmp/cclTHhpX.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 400kb | Incorect | 0 |
2 | 268ms | 3028kb | Incorect | 0 |
3 | Depăşit | 3856kb | Time limit exceeded. | 0 |
4 | Depăşit | 3860kb | Time limit exceeded. | 0 |
5 | Depăşit | 3852kb | Time limit exceeded. | 0 |
6 | 0ms | 452kb | Killed by signal 6(SIGABRT). | 0 |
7 | 0ms | 452kb | Killed by signal 6(SIGABRT). | 0 |
8 | 0ms | 452kb | Killed by signal 6(SIGABRT). | 0 |
9 | 0ms | 452kb | Killed by signal 6(SIGABRT). | 0 |
10 | 0ms | 452kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 0 |