Pagini recente » Borderou de evaluare (job #1392721) | Borderou de evaluare (job #551655) | Borderou de evaluare (job #2822786) | Borderou de evaluare (job #2692231) | Borderou de evaluare (job #1799371)
Borderou de evaluare (job #1799371)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:38: warning: unused variable ‘ct’ [-Wunused-variable]
int st,q,dr,s=0,ma=0,n,k,mid,ind,ct,v[16007];
^
user.cpp:5:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.in","r",stdin);
^
user.cpp:6:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.out","w",stdout);
^
user.cpp:8:25: 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: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 | 268kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 0ms | 304kb | OK | 10 |
7 | 0ms | 320kb | OK | 10 |
8 | 4ms | 328kb | OK | 10 |
9 | 4ms | 320kb | OK | 10 |
10 | 4ms | 324kb | OK | 10 |
Punctaj total | 100 |