SHARE
TWEET

Untitled

a guest Oct 19th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class HelloWorld{
  2.  
  3.      public static void main(String []args){
  4.        
  5.         // wpisalem na poczatku a2 = 0
  6.         // tylko zeby zobaczyc jaki jest wynik
  7.         // petla
  8.         boolean found = false;
  9.         int i = Integer.MIN_VALUE;
  10.         int i_max = Integer.MAX_VALUE;
  11.         System.out.println("Od " + i);
  12.         System.out.println("Do " + i_max);
  13.         for( ; i < i_max ; i++)
  14.         {
  15.             int a1 = 0x6D, a2 = i, a = a1 & a2,
  16.                 b1 = 0xA, b2 = a2, b = b1 | b2,
  17.                 c1 = 11 << 2, c2 = a2, c = c1 ^ c2;
  18.                
  19.             if( a == 13 && b == 15 & c == 42)
  20.             {
  21.                 found = true;
  22.                 System.out.println("mamy to");
  23.                 System.out.println(a + " " + b + " " + c);
  24.                 System.out.println("a2 = " + i);
  25.                 break;
  26.             }
  27.         }
  28.        
  29.         if( false == found )
  30.         {
  31.             System.out.println("dupa");
  32.         }
  33.      }
  34. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top