Pagini recente » Borderou de evaluare (job #1703696) | Borderou de evaluare (job #130547) | Borderou de evaluare (job #2232403) | Borderou de evaluare (job #1445762) | Borderou de evaluare (job #1221801)
Borderou de evaluare (job #1221801)
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/cckTGx4Q.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 | 19772kb | OK | 10 | 10 |
4 | 492ms | 33276kb | OK | 10 | 10 |
5 | 888ms | 35496kb | OK | 10 | 10 |
6 | 460ms | 32560kb | OK | 10 | 10 |
7 | 860ms | 35044kb | OK | 10 | 20 |
8 | 508ms | 33596kb | OK | 10 |
9 | 1004ms | 37340kb | OK | 10 | 20 |
10 | 600ms | 35500kb | OK | 10 |
Punctaj total | 90 |