fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
  10. public static void main (String[] args) throws java.lang.Exception
  11. {
  12. // your code goes here
  13. int j=79, k=82, p=112, q=99;
  14. System.out.println( (137) | q );
  15. System.out.println( (137) & (121) );
  16. //System.out.println( (137) && (0x3A) );
  17. System.out.println( (137) ^ (121) );
  18. System.out.println( (p) | (j) );
  19. System.out.println( ~ 465 );
  20. System.out.println( j ^ (0x4B) );
  21. System.out.println( (j) & (k) );
  22. //System.out.println( p || j );
  23. System.out.println( p ^ q );
  24. System.out.println( ~ (-k) );
  25. System.out.println( ~ (2) );
  26. }
  27. }
Success #stdin #stdout 0.08s 47016KB
stdin
Standard input is empty
stdout
235
9
240
127
-466
4
66
19
81
-3