Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class HelloWorld{
- public static void main(String []args){
- // wpisalem na poczatku a2 = 0
- // tylko zeby zobaczyc jaki jest wynik
- // petla
- boolean found = false;
- int i = Integer.MIN_VALUE;
- int i_max = -i;
- for( ; i < i_max ; i++)
- {
- int a1 = 0x6D, a2 = i, a = a1 & a2,
- b1 = 0xA, b2 = a2, b = b1 | b2,
- c1 = 11 << 2, c2 = a2, c = c1 ^ c2;
- if( a == 13 && b == 15 & c == 42)
- {
- found = true;
- System.out.println("mamy to");
- System.out.println(a + " " + b + " " + c);
- System.out.println("a2 = " + i);
- break;
- }
- }
- if( false == found )
- {
- System.out.println("dupa");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement