Pagini recente » Borderou de evaluare (job #2134401) | Borderou de evaluare (job #1497017) | Borderou de evaluare (job #877616) | Borderou de evaluare (job #2277489) | Borderou de evaluare (job #1746237)
Borderou de evaluare (job #1746237)
Raport evaluator
Compilare:
user.cpp: In function ‘void make_sfx()’:
user.cpp:44:25: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
if(i + (1<<l-1) < n)
^
user.cpp:45:50: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
aux[i].p2 = sfx[l - 1][i + (1<<l-1)];
^
user.cpp: In function ‘int main()’:
user.cpp:77: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:78: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:80:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:82:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str + i * 64);
^
user.cpp:86:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&m);
^
user.cpp:88:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(pat);
^
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:82: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);
^
/tmp/ccTf0raB.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0xd2): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 216ms | 6136kb | OK | 10 |
2 | 52ms | 1872kb | OK | 10 |
3 | 132ms | 2780kb | OK | 10 |
4 | 168ms | 2780kb | OK | 10 |
5 | 288ms | 5320kb | OK | 10 |
6 | Depăşit | 7696kb | Time limit exceeded. | 0 |
7 | Depăşit | 8080kb | Time limit exceeded. | 0 |
8 | Depăşit | 7740kb | Time limit exceeded. | 0 |
9 | Depăşit | 7740kb | Time limit exceeded. | 0 |
10 | Depăşit | 8772kb | Time limit exceeded. | 0 |
Punctaj total | 50 |