Pagini recente » Borderou de evaluare (job #2542201) | Borderou de evaluare (job #226124) | Borderou de evaluare (job #2113425) | Borderou de evaluare (job #758738) | Borderou de evaluare (job #2246862)
Borderou de evaluare (job #2246862)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21: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);
^
user.cpp:22: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);
^
user.cpp:23:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",sir1+1);
^
user.cpp:25:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",sir+1);
^
user.cpp: In function ‘void solve(int*)’:
user.cpp:13:42: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i<=lmax) d[i]=min(lmax-i+1,d[i-mid+1]);
~^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 3380kb | OK | 10 | 10 |
2 | 0ms | 3372kb | OK | 10 | 10 |
3 | 0ms | 3384kb | OK | 10 | 10 |
4 | 0ms | 3408kb | OK | 10 | 10 |
5 | 4ms | 3540kb | OK | 10 | 10 |
6 | 4ms | 3640kb | OK | 10 | 10 |
7 | 4ms | 3992kb | OK | 10 | 10 |
8 | 8ms | 4428kb | OK | 10 | 30 |
9 | 12ms | 5224kb | OK | 10 |
10 | 16ms | 5848kb | OK | 10 |
Punctaj total | 100 |