Pagini recente » Borderou de evaluare (job #2628746) | Borderou de evaluare (job #1277275) | Borderou de evaluare (job #50391) | Borderou de evaluare (job #2723694) | Borderou de evaluare (job #1954617)
Borderou de evaluare (job #1954617)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:61:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (a[i-k]<before)
^
user.cpp:64:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (a[i-k]>after)
^
user.cpp: In function ‘int main()’:
user.cpp:77:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pikachu.in","r",stdin);
^
user.cpp:78:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pikachu.out","w",stdout);
^
user.cpp:80:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:83:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 272kb | OK | 10 | 10 |
| 2 | 0ms | 268kb | OK | 10 | 10 |
| 3 | 0ms | 272kb | OK | 10 | 10 |
| 4 | 4ms | 348kb | OK | 10 | 10 |
| 5 | 20ms | 488kb | OK | 10 | 30 |
| 6 | 32ms | 708kb | OK | 10 |
| 7 | 52ms | 916kb | OK | 10 |
| 8 | 92ms | 1316kb | OK | 10 | 10 |
| 9 | 108ms | 1368kb | OK | 10 | 10 |
| 10 | 124ms | 1792kb | OK | 10 | 10 |
| Punctaj total | 100 |