Pagini recente » Borderou de evaluare (job #1528120) | Borderou de evaluare (job #1744979) | Borderou de evaluare (job #2461105) | Borderou de evaluare (job #2841597) | Borderou de evaluare (job #1221804)
Borderou de evaluare (job #1221804)
Raport evaluator
Compilare:
user.cpp: In function ‘void Init()’:
user.cpp:96:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a.a+1);
^
user.cpp:98:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b.a+1);
^
user.cpp: In function ‘int main()’:
user.cpp:103:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unicat.in","r",stdin);
^
user.cpp:104:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unicat.out","w",stdout);
^
user.cpp: In member function ‘void sir::Manacher1(int*)’:
user.cpp:68:42: warning: ‘P’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(R>=i) dp[i]=min(R-i+1,dp[P-(i-P)]);
^
user.cpp: In member function ‘void sir::Manacher2(int*)’:
user.cpp:80:39: warning: ‘P’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(R>i) dp[i]=min(R-i,dp[P-(i-P)]);
^
/tmp/ccY15epQ.o: In function `Init()':
user.cpp:(.text+0x13d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 64ms | 19780kb | Incorect | 0 | 0 |
2 | 64ms | 19776kb | OK | 10 | 10 |
3 | 64ms | 19776kb | OK | 10 | 10 |
4 | 488ms | 33280kb | OK | 10 | 10 |
5 | 888ms | 35496kb | OK | 10 | 10 |
6 | 460ms | 32552kb | OK | 10 | 10 |
7 | 864ms | 35036kb | OK | 10 | 20 |
8 | 504ms | 33588kb | OK | 10 |
9 | 1000ms | 37336kb | OK | 10 | 20 |
10 | 604ms | 35496kb | OK | 10 |
Punctaj total | 90 |