Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. function : int main() {
  2. int a = 1;
  3. int b = 2;
  4. int c = a + b;
  5. int d = c - b;
  6. int e = b + -a;
  7. cout << 10 + 10 << endl;
  8. cout << 10 -5 << endl;
  9. cout << 10 + -1 << endl;
  10.  
  11. int m1 = a * b;
  12. int m2 = b * b * m1;
  13. int m3 = m1 * 3;
  14. cout << 3 * 3 << endl;
  15. int d1 = b / a;
  16. int d2 = b * b * b / c;
  17. int d3 = d1 / 2;
  18. cout << 50 / 10 << endl;
  19. int mod1 = m2 % b;
  20. int mod2 = m2 % 2;
  21. cout << 10 % 3 << endl;
  22.  
  23. int a1 = a & b;
  24. int a2 = a1 & a & b;
  25. int a3 = a2 & 4;
  26. cout << 4 & 5 << endl;
  27. int o1 = a | b;
  28. int o2 = 01 | a | b;
  29. int o3 = 02 | 420;
  30. cout << 420 | 666 << endl;
  31. int x1 = a ^ b;
  32. int x2 = x1 ^ a ^ b;
  33. int x3 = x2 ^ 9;
  34. cout << 420 ^ 666 << endl;
  35.  
  36. int everything = a + b - c * m1 / d1 % mod1 & a1 | o1 ^ x1;
  37.  
  38. cout << 6 + 36 - 420 * 4 / 2 % 3 & 666 | 5 ^ 8 << endl;
  39.  
  40. int i1 = a++;
  41. int i2 = ++i1;
  42.  
  43. int dec1 = a--;
  44. int dec2 = --a;
  45. return 1;
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement