Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 #include <stdio.h>
- 2
- 3 int main(void)
- 4 {
- 5
- 6 int i,j,k=0;
- 7
- 8 for(i = 85; i>1; i /= 2){
- 9 j = 18;
- 10 j *= 2;
- 11 if(i%2 == 1){
- 12
- 13 k += j;
- 14 }
- 15 }
- 16
- 17 printf("%d\n",k);
- 18 return 0;
- 19 }
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- "ce.c" 19L, 157C written 17,1 All
Advertisement
Add Comment
Please, Sign In to add comment