Pagini recente » Monitorul de evaluare | Diferente pentru problema/comp2 intre reviziile 5 si 4 | Diferente pentru problema/shift intre reviziile 8 si 9 | Monitorul de evaluare | Borderou de evaluare (job #1617777)
Borderou de evaluare (job #1617777)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x1==0)
^
user.cpp:20:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x2==0)
^
user.cpp:34:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x2==0)
^
user.cpp:43:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x1==0)
^
user.cpp:5:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxk.in","r",stdin);
^
user.cpp:6:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxk.out","w",stdout);
^
user.cpp:7:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:10:22: 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 | 4ms | 4192kb | Incorect | 0 |
| 2 | 4ms | 4188kb | Incorect | 0 |
| 3 | 4ms | 4180kb | OK | 10 |
| 4 | 276ms | 8076kb | Incorect | 0 |
| 5 | 20ms | 4380kb | Incorect | 0 |
| 6 | 24ms | 4424kb | Incorect | 0 |
| 7 | 24ms | 4432kb | Incorect | 0 |
| 8 | 20ms | 4388kb | Incorect | 0 |
| 9 | 20ms | 4408kb | Incorect | 0 |
| 10 | 280ms | 8076kb | Incorect | 0 |
| Punctaj total | 10 |