Pagini recente » Borderou de evaluare (job #2839817) | Borderou de evaluare (job #793900) | Borderou de evaluare (job #907896) | Borderou de evaluare (job #1092273) | Borderou de evaluare (job #1412228)
Borderou de evaluare (job #1412228)
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 | 256kb | OK! | 10 |
2 | 0ms | 256kb | OK! | 10 |
3 | 0ms | 276kb | OK! | 10 |
4 | 4ms | 328kb | OK! | 10 |
5 | 12ms | 404kb | OK! | 10 |
6 | 28ms | 572kb | OK! | 10 |
7 | 44ms | 744kb | OK! | 10 |
8 | 64ms | 992kb | Raspuns gresit! | 0 |
9 | 76ms | 1104kb | Raspuns gresit! | 0 |
10 | 84ms | 1224kb | OK! | 10 |
Punctaj total | 80 |