Pagini recente » Borderou de evaluare (job #764576) | Borderou de evaluare (job #2524543) | Borderou de evaluare (job #2940503) | Borderou de evaluare (job #1699405) | Borderou de evaluare (job #1221800)
Borderou de evaluare (job #1221800)
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/ccnjwlXQ.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 | 19776kb | Incorect | 0 | 0 |
2 | 64ms | 19776kb | OK | 10 | 10 |
3 | 64ms | 19780kb | OK | 10 | 10 |
4 | 488ms | 33272kb | OK | 10 | 10 |
5 | 888ms | 35496kb | OK | 10 | 10 |
6 | 460ms | 32556kb | OK | 10 | 10 |
7 | 860ms | 35040kb | OK | 10 | 20 |
8 | 508ms | 33588kb | OK | 10 |
9 | 1004ms | 37328kb | OK | 10 | 20 |
10 | 604ms | 35504kb | OK | 10 |
Punctaj total | 90 |