Pagini recente » Borderou de evaluare (job #1239533) | Borderou de evaluare (job #613224) | Borderou de evaluare (job #2913216) | Borderou de evaluare (job #3141456) | Borderou de evaluare (job #1412241)
Borderou de evaluare (job #1412241)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d",&c[i]);
^
user.cpp:10:44: warning: variable ‘dr’ set but not used [-Wunused-but-set-variable]
int n,i,stot=0,smin,sc,smax,st,drm,stm,dr,l,smax1,stmin,drmin;
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buline.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buline.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&c[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | OK! | 10 |
| 2 | 0ms | 256kb | OK! | 10 |
| 3 | 0ms | 284kb | OK! | 10 |
| 4 | 4ms | 324kb | OK! | 10 |
| 5 | 12ms | 412kb | OK! | 10 |
| 6 | 28ms | 576kb | OK! | 10 |
| 7 | 40ms | 744kb | OK! | 10 |
| 8 | 64ms | 988kb | OK! | 10 |
| 9 | 76ms | 1108kb | OK! | 10 |
| 10 | 88ms | 1220kb | OK! | 10 |
| Punctaj total | 100 |