Pagini recente » Borderou de evaluare (job #104050) | Borderou de evaluare (job #19) | Borderou de evaluare (job #707086) | Borderou de evaluare (job #2728938) | Borderou de evaluare (job #2246834)
Borderou de evaluare (job #2246834)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.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);
^
user.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);
^
user.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);
^
user.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);
^
user.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);
^
user.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);
^
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 | 24ms | 3368kb | OK | 5 | 5 |
2 | 12ms | 3372kb | OK | 5 | 5 |
3 | 8ms | 3464kb | OK | 5 | 5 |
4 | 12ms | 3460kb | OK | 5 | 5 |
5 | 12ms | 4344kb | OK | 5 | 5 |
6 | 16ms | 4344kb | OK | 5 | 5 |
7 | 20ms | 4344kb | OK | 5 | 5 |
8 | 28ms | 4340kb | OK | 5 | 5 |
9 | 168ms | 13128kb | OK | 5 | 5 |
10 | 320ms | 13124kb | OK | 5 | 5 |
11 | 552ms | 19868kb | OK | 5 | 25 |
12 | 496ms | 19876kb | OK | 5 |
13 | 504ms | 19872kb | OK | 5 |
14 | 580ms | 19868kb | OK | 5 |
15 | 408ms | 5220kb | OK | 5 |
16 | 552ms | 19868kb | OK | 5 | 25 |
17 | 568ms | 19868kb | OK | 5 |
18 | 524ms | 19872kb | OK | 5 |
19 | 556ms | 19868kb | OK | 5 |
20 | 520ms | 19868kb | OK | 5 |
Punctaj total | 100 |