Pagini recente » Borderou de evaluare (job #1266641) | Borderou de evaluare (job #398059) | Borderou de evaluare (job #407493) | Borderou de evaluare (job #1302999) | Borderou de evaluare (job #1221794)
Borderou de evaluare (job #1221794)
Raport evaluator
Compilare:
user.cpp: In function ‘void Init()’:
user.cpp:82:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a.a+1);
^
user.cpp:84: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:89: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:90: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:58: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:70: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/cc3BxcVl.o: In function `Init()':
user.cpp:(.text+0x7d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 44ms | 17828kb | Incorect | 0 | 0 |
2 | 44ms | 17836kb | OK | 10 | 10 |
3 | 44ms | 17828kb | OK | 10 | 10 |
4 | 248ms | 26168kb | Incorect | 0 | 0 |
5 | 600ms | 29660kb | OK | 10 | 10 |
6 | 244ms | 25852kb | Incorect | 0 | 0 |
7 | 580ms | 29304kb | OK | 10 | 0 |
8 | 260ms | 26364kb | Incorect | 0 |
9 | 680ms | 30980kb | OK | 10 | 0 |
10 | 268ms | 26804kb | Incorect | 0 |
Punctaj total | 30 |