Pagini recente » Borderou de evaluare (job #2393556) | Borderou de evaluare (job #884102) | Borderou de evaluare (job #417606) | Borderou de evaluare (job #743682) | Borderou de evaluare (job #1272753)
Borderou de evaluare (job #1272753)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:9: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(n&1==1)
^
user.cpp:27:18: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(v1&1==1)
^
user.cpp:29:22: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(v2&1==1)
^
user.cpp:42:29: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while (v1>1) { if(v1&1==1) { ++put[0]; put[put[0]]=1; v1/=2; }else { ++put[0]; put[put[0]]=0; v1=v1/2; } }
^
user.cpp:43:29: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while (v2>1) { if(v2&1==1) { ++put[0]; put[put[0]]=1; v2/=2; }else { ++put[0]; put[put[0]]=0; v2=v2/2; } }
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("algebra2.in","r",stdin);
^
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("algebra2.out","w",stdout);
^
user.cpp:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 252kb | Incorect | 0 |
✓ | 2 | 0ms | 252kb | Incorect | 0 |
✓ | 3 | 0ms | 248kb | Incorect | 0 |
✓ | 4 | 0ms | 252kb | Incorect | 0 |
✓ | 5 | 0ms | 252kb | Incorect | 0 |
✓ | 6 | 0ms | 256kb | Incorect | 0 |
✓ | 7 | 0ms | 252kb | Incorect | 0 |
✓ | 8 | 0ms | 252kb | Incorect | 0 |
✓ | 9 | 0ms | 252kb | Incorect | 0 |
✓ | 10 | 0ms | 248kb | Incorect | 0 |
✓ | 11 | 0ms | 248kb | Incorect | 0 |
✓ | 12 | 0ms | 252kb | Incorect | 0 |
✓ | 13 | 0ms | 252kb | Incorect | 0 |
✓ | 14 | 0ms | 248kb | Incorect | 0 |
✓ | 15 | 0ms | 256kb | Incorect | 0 |
✓ | 16 | 0ms | 248kb | Incorect | 0 |
✓ | 17 | 0ms | 256kb | Incorect | 0 |
✓ | 18 | 0ms | 252kb | Incorect | 0 |
✓ | 19 | 0ms | 256kb | Incorect | 0 |
✓ | 20 | 0ms | 252kb | Incorect | 0 |
Punctaj total | 0 |