Pagini recente » Borderou de evaluare (job #960088) | Borderou de evaluare (job #1385885) | Borderou de evaluare (job #1635858) | Borderou de evaluare (job #2663052) | Borderou de evaluare (job #1618356)
Borderou de evaluare (job #1618356)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52: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 | 256kb | Incorect | 0 |
| 2 | 0ms | 260kb | OK | 5 |
| 3 | 0ms | 264kb | OK | 5 |
| 4 | 0ms | 272kb | Incorect | 0 |
| 5 | 0ms | 284kb | OK | 5 |
| 6 | 0ms | 288kb | OK | 5 |
| 7 | 0ms | 288kb | OK | 5 |
| 8 | 8ms | 292kb | OK | 5 |
| 9 | 8ms | 296kb | OK | 5 |
| 10 | 12ms | 296kb | OK | 5 |
| 11 | 12ms | 304kb | OK | 5 |
| 12 | 12ms | 304kb | OK | 5 |
| 13 | 32ms | 304kb | OK | 5 |
| 14 | 20ms | 296kb | OK | 5 |
| 15 | 12ms | 300kb | OK | 5 |
| 16 | 28ms | 300kb | OK | 5 |
| 17 | 16ms | 300kb | OK | 5 |
| 18 | 8ms | 300kb | OK | 5 |
| 19 | 12ms | 296kb | OK | 5 |
| 20 | 4ms | 296kb | OK | 5 |
| Punctaj total | 90 |