Pagini recente » Borderou de evaluare (job #1233680) | Borderou de evaluare (job #2090071) | Borderou de evaluare (job #2476723) | Borderou de evaluare (job #365619) | Borderou de evaluare (job #1618341)
Borderou de evaluare (job #1618341)
Raport evaluator
Compilare:
user.cpp: In function ‘int cool(int)’:
user.cpp:8:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
while(pp=1&&i<=k){
^
user.cpp: In function ‘int main()’:
user.cpp:50:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(max-min==j-i)
^
user.cpp:28:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("cool.in","r",stdin);
^
user.cpp:29:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cool.out","w",stdout);
^
user.cpp:31:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&p,&n,&k);
^
user.cpp:34:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | Incorect | 0 |
| 2 | 0ms | 256kb | OK | 5 |
| 3 | 0ms | 264kb | Incorect | 0 |
| 4 | 0ms | 272kb | Incorect | 0 |
| 5 | 0ms | 284kb | OK | 5 |
| 6 | 0ms | 288kb | Incorect | 0 |
| 7 | 0ms | 292kb | OK | 5 |
| 8 | 8ms | 300kb | Incorect | 0 |
| 9 | 8ms | 296kb | Incorect | 0 |
| 10 | 12ms | 304kb | Incorect | 0 |
| 11 | 12ms | 296kb | OK | 5 |
| 12 | 16ms | 300kb | Incorect | 0 |
| 13 | 32ms | 296kb | OK | 5 |
| 14 | 20ms | 300kb | Incorect | 0 |
| 15 | 12ms | 296kb | Incorect | 0 |
| 16 | 24ms | 296kb | OK | 5 |
| 17 | 12ms | 300kb | Incorect | 0 |
| 18 | 8ms | 304kb | OK | 5 |
| 19 | 12ms | 300kb | Incorect | 0 |
| 20 | 4ms | 296kb | Incorect | 0 |
| Punctaj total | 35 |