Pagini recente » Borderou de evaluare (job #1667526) | Borderou de evaluare (job #226049) | Borderou de evaluare (job #2827400) | Borderou de evaluare (job #2827470) | Borderou de evaluare (job #2633428)
Borderou de evaluare (job #2633428)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("potriveala.in","r",stdin);
^
main.cpp:23:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("potriveala.out","w",stdout);
^
main.cpp:24:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",sir1+1);
^
main.cpp:26:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",sir+1);
^
main.cpp: In function 'void solve(int*)':
main.cpp:11:40: warning: 'mid' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i<=Max) d[i]=min(Max-i+1,d[i-mid+1]);
~^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 2ms | 131kb | OK | 10 | 10 |
4 | 3ms | 131kb | OK | 10 | 10 |
5 | 4ms | 393kb | OK | 10 | 10 |
6 | 4ms | 524kb | OK | 10 | 10 |
7 | 7ms | 786kb | OK | 10 | 10 |
8 | 10ms | 1310kb | OK | 10 | 30 |
9 | 17ms | 2359kb | OK | 10 |
10 | 22ms | 3145kb | OK | 10 |
Punctaj total | 100 |