Pagini recente » Borderou de evaluare (job #1746307) | Borderou de evaluare (job #746180) | Borderou de evaluare (job #2066263) | Borderou de evaluare (job #3240618) | Borderou de evaluare (job #2398770)
Borderou de evaluare (job #2398770)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("x.in","r",stdin);
^
main.cpp:22:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("x.out","w",stdout);
^
main.cpp:24:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n",&n,&m,&q);
^
main.cpp:25: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:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",sir+1);
^
main.cpp:35:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
main.cpp: In function 'void solve(int*)':
main.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 | 2ms | 131kb | OK | 5 | 5 |
| 2 | 2ms | 131kb | OK | 5 | 5 |
| 3 | 3ms | 262kb | OK | 5 | 5 |
| 4 | 3ms | 262kb | OK | 5 | 5 |
| 5 | 9ms | 1179kb | OK | 5 | 5 |
| 6 | 16ms | 1179kb | OK | 5 | 5 |
| 7 | 17ms | 1179kb | OK | 5 | 5 |
| 8 | 26ms | 1179kb | OK | 5 | 5 |
| 9 | 160ms | 10485kb | OK | 5 | 5 |
| 10 | 282ms | 11010kb | OK | 5 | 5 |
| 11 | 483ms | 20447kb | OK | 5 | 25 |
| 12 | 468ms | 20447kb | OK | 5 |
| 13 | 490ms | 20447kb | OK | 5 |
| 14 | 494ms | 20578kb | OK | 5 |
| 15 | 403ms | 4980kb | OK | 5 |
| 16 | 521ms | 20578kb | OK | 5 | 25 |
| 17 | 490ms | 20578kb | OK | 5 |
| 18 | 498ms | 20578kb | OK | 5 |
| 19 | 502ms | 20709kb | OK | 5 |
| 20 | 535ms | 22675kb | OK | 5 |
| Punctaj total | 100 |