Pagini recente » Borderou de evaluare (job #1702108) | Borderou de evaluare (job #1734559) | Borderou de evaluare (job #432920) | Borderou de evaluare (job #13471) | Borderou de evaluare (job #1868086)
Borderou de evaluare (job #1868086)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(ci[i]==-1)
^
user.cpp:6:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maraton.in","r",stdin);
^
user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maraton.out","w",stdout);
^
user.cpp:9: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:11:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&ci[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 436kb | OK | 10 |
| 2 | 0ms | 444kb | OK | 10 |
| 3 | 0ms | 444kb | OK | 10 |
| 4 | 0ms | 444kb | OK | 10 |
| 5 | 0ms | 452kb | OK | 10 |
| 6 | 0ms | 452kb | OK | 10 |
| 7 | 0ms | 452kb | OK | 10 |
| 8 | 0ms | 452kb | OK | 10 |
| 9 | 0ms | 452kb | OK | 10 |
| 10 | 0ms | 452kb | OK | 10 |
| Punctaj total | 100 |