Pagini recente » Borderou de evaluare (job #1093899) | Borderou de evaluare (job #1877176) | Borderou de evaluare (job #102011) | Borderou de evaluare (job #2616481) | Borderou de evaluare (job #1273741)
Borderou de evaluare (job #1273741)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:12: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(k<x & k*2>0) k=k*2;
^
user.cpp:34:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taste.in","r",stdin);
^
user.cpp:35:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taste.out","w",stdout);
^
user.cpp:36:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Corect | 10 |
2 | 0ms | 264kb | Corect | 10 |
3 | 0ms | 264kb | Corect | 10 |
4 | 0ms | 240kb | Corect | 10 |
5 | 0ms | 268kb | Corect | 10 |
6 | 0ms | 268kb | Corect | 10 |
7 | 0ms | 260kb | Corect | 10 |
8 | 0ms | 260kb | Corect | 10 |
9 | 0ms | 264kb | Corect | 10 |
10 | 0ms | 260kb | Corect | 10 |
Punctaj total | 100 |