Rozwiązania zadań z egzaminu
1 2 3 4 5 6 7 8 9 10 11 12 13 1415 16 17 18 19 20 21 22 23 24 25 26 27 28 29
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=16 z=2
Zadanie 3: dane x = 4 y = 15
*xp = 14, *yp = 20 x=20, y=14
Zadanie 4:
fun(15, 30) -> 21 fun(7, 15) -> 21 fun(2, 14) -> 14 fun(7, 3) -> 7
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=3
Zadanie 3: dane x = 5 y = 16
*xp = 15, *yp = 22 x=22, y=15
Zadanie 4:
fun(15, 19) -> 15 fun(7, 9) -> 15 fun(2, 8) -> 8 fun(7, 1) -> 7
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=18 z=4
Zadanie 3: dane x = 6 y = 17
*xp = 16, *yp = 24 x=24, y=16
Zadanie 4:
fun(16, 17) -> 15 fun(8, 8) -> 15 fun(3, 7) -> 7 fun(8, 1) -> 8
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=0
Zadanie 3: dane x = 7 y = 18
*xp = 17, *yp = 26 x=26, y=17
Zadanie 4:
fun(16, 24) -> 19 fun(8, 12) -> 19 fun(3, 11) -> 11 fun(8, 2) -> 8
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=20 z=1
Zadanie 3: dane x = 8 y = 14
*xp = 13, *yp = 23 x=23, y=13
Zadanie 4:
fun(17, 9) -> 13 fun(9, 4) -> 13 fun(4, 3) -> 4 fun(9, 0) -> 9
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=2
Zadanie 3: dane x = 3 y = 15
*xp = 14, *yp = 19 x=19, y=14
Zadanie 4:
fun(19, 8) -> 17 fun(11, 4) -> 17 fun(6, 3) -> 6 fun(11, 0) -> 11
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=22 z=3
Zadanie 3: dane x = 4 y = 16
*xp = 15, *yp = 21 x=21, y=15
Zadanie 4:
fun(20, 9) -> 19 fun(12, 4) -> 19 fun(7, 3) -> 7 fun(12, 0) -> 12
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=4
Zadanie 3: dane x = 5 y = 17
*xp = 16, *yp = 23 x=23, y=16
Zadanie 4:
fun(22, 8) -> 23 fun(14, 4) -> 23 fun(9, 3) -> 9 fun(14, 0) -> 14
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=24 z=0
Zadanie 3: dane x = 6 y = 18
*xp = 17, *yp = 25 x=25, y=17
Zadanie 4:
fun(15, 21) -> 16 fun(7, 10) -> 16 fun(2, 9) -> 9 fun(7, 2) -> 7
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=1
Zadanie 3: dane x = 7 y = 14
*xp = 13, *yp = 22 x=22, y=13
Zadanie 4:
fun(15, 9) -> 10 fun(7, 4) -> 10 fun(2, 3) -> 3 fun(7, 0) -> 7
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=26 z=2
Zadanie 3: dane x = 8 y = 15
*xp = 14, *yp = 24 x=24, y=14
Zadanie 4:
fun(16, 8) -> 11 fun(8, 4) -> 11 fun(3, 3) -> 3 fun(8, 0) -> 8
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=3
Zadanie 3: dane x = 3 y = 16
*xp = 15, *yp = 20 x=20, y=15
Zadanie 4:
fun(16, 30) -> 22 fun(8, 15) -> 22 fun(3, 14) -> 14 fun(8, 3) -> 8
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=28 z=4
Zadanie 3: dane x = 4 y = 17
*xp = 16, *yp = 22 x=22, y=16
Zadanie 4:
fun(16, 19) -> 16 fun(8, 9) -> 16 fun(3, 8) -> 8 fun(8, 1) -> 8
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=0
Zadanie 3: dane x = 5 y = 18
*xp = 17, *yp = 24 x=24, y=17
Zadanie 4:
fun(18, 8) -> 15 fun(10, 4) -> 15 fun(5, 3) -> 5 fun(10, 0) -> 10
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=30 z=1
Zadanie 3: dane x = 6 y = 14
*xp = 13, *yp = 21 x=21, y=13
Zadanie 4:
fun(19, 9) -> 17 fun(11, 4) -> 17 fun(6, 3) -> 6 fun(11, 0) -> 11
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=2
Zadanie 3: dane x = 7 y = 15
*xp = 14, *yp = 23 x=23, y=14
Zadanie 4:
fun(21, 8) -> 21 fun(13, 4) -> 21 fun(8, 3) -> 8 fun(13, 0) -> 13
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=16 z=3
Zadanie 3: dane x = 8 y = 16
*xp = 15, *yp = 25 x=25, y=15
Zadanie 4:
fun(22, 9) -> 23 fun(14, 4) -> 23 fun(9, 3) -> 9 fun(14, 0) -> 14
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=4
Zadanie 3: dane x = 3 y = 17
*xp = 16, *yp = 21 x=21, y=16
Zadanie 4:
fun(15, 17) -> 14 fun(7, 8) -> 14 fun(2, 7) -> 7 fun(7, 1) -> 7
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=18 z=0
Zadanie 3: dane x = 4 y = 18
*xp = 17, *yp = 23 x=23, y=17
Zadanie 4:
fun(15, 24) -> 18 fun(7, 12) -> 18 fun(2, 11) -> 11 fun(7, 2) -> 7
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=1
Zadanie 3: dane x = 5 y = 14
*xp = 13, *yp = 20 x=20, y=13
Zadanie 4:
fun(16, 21) -> 17 fun(8, 10) -> 17 fun(3, 9) -> 9 fun(8, 2) -> 8
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=20 z=2
Zadanie 3: dane x = 6 y = 15
*xp = 14, *yp = 22 x=22, y=14
Zadanie 4:
fun(16, 9) -> 11 fun(8, 4) -> 11 fun(3, 3) -> 3 fun(8, 0) -> 8
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=3
Zadanie 3: dane x = 7 y = 16
*xp = 15, *yp = 24 x=24, y=15
Zadanie 4:
fun(17, 8) -> 13 fun(9, 4) -> 13 fun(4, 3) -> 4 fun(9, 0) -> 9
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=22 z=4
Zadanie 3: dane x = 8 y = 17
*xp = 16, *yp = 26 x=26, y=16
Zadanie 4:
fun(18, 9) -> 15 fun(10, 4) -> 15 fun(5, 3) -> 5 fun(10, 0) -> 10
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=0
Zadanie 3: dane x = 3 y = 18
*xp = 17, *yp = 22 x=22, y=17
Zadanie 4:
fun(20, 8) -> 19 fun(12, 4) -> 19 fun(7, 3) -> 7 fun(12, 0) -> 12
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=24 z=1
Zadanie 3: dane x = 4 y = 14
*xp = 13, *yp = 19 x=19, y=13
Zadanie 4:
fun(21, 9) -> 21 fun(13, 4) -> 21 fun(8, 3) -> 8 fun(13, 0) -> 13
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=2
Zadanie 3: dane x = 5 y = 15
*xp = 14, *yp = 21 x=21, y=14
Zadanie 4:
fun(15, 8) -> 10 fun(7, 4) -> 10 fun(2, 3) -> 3 fun(7, 0) -> 7
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=26 z=3
Zadanie 3: dane x = 6 y = 16
*xp = 15, *yp = 23 x=23, y=15
Zadanie 4:
fun(15, 30) -> 21 fun(7, 15) -> 21 fun(2, 14) -> 14 fun(7, 3) -> 7
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=4
Zadanie 3: dane x = 7 y = 17
*xp = 16, *yp = 25 x=25, y=16
Zadanie 4:
fun(15, 19) -> 15 fun(7, 9) -> 15 fun(2, 8) -> 8 fun(7, 1) -> 7
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=28 z=0
Zadanie 3: dane x = 8 y = 18
*xp = 17, *yp = 27 x=27, y=17
Zadanie 4:
fun(16, 17) -> 15 fun(8, 8) -> 15 fun(3, 7) -> 7 fun(8, 1) -> 8
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=1
Zadanie 3: dane x = 3 y = 14
*xp = 13, *yp = 18 x=18, y=13
Zadanie 4:
fun(16, 24) -> 19 fun(8, 12) -> 19 fun(3, 11) -> 11 fun(8, 2) -> 8
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=30 z=2
Zadanie 3: dane x = 4 y = 15
*xp = 14, *yp = 20 x=20, y=14
Zadanie 4:
fun(17, 9) -> 13 fun(9, 4) -> 13 fun(4, 3) -> 4 fun(9, 0) -> 9
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=3
Zadanie 3: dane x = 5 y = 16
*xp = 15, *yp = 22 x=22, y=15
Zadanie 4:
fun(19, 8) -> 17 fun(11, 4) -> 17 fun(6, 3) -> 6 fun(11, 0) -> 11
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=16 z=4
Zadanie 3: dane x = 6 y = 17
*xp = 16, *yp = 24 x=24, y=16
Zadanie 4:
fun(20, 9) -> 19 fun(12, 4) -> 19 fun(7, 3) -> 7 fun(12, 0) -> 12
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=0
Zadanie 3: dane x = 7 y = 18
*xp = 17, *yp = 26 x=26, y=17
Zadanie 4:
fun(22, 8) -> 23 fun(14, 4) -> 23 fun(9, 3) -> 9 fun(14, 0) -> 14
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=18 z=1
Zadanie 3: dane x = 8 y = 14
*xp = 13, *yp = 23 x=23, y=13
Zadanie 4:
fun(15, 21) -> 16 fun(7, 10) -> 16 fun(2, 9) -> 9 fun(7, 2) -> 7
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=2
Zadanie 3: dane x = 3 y = 15
*xp = 14, *yp = 19 x=19, y=14
Zadanie 4:
fun(15, 9) -> 10 fun(7, 4) -> 10 fun(2, 3) -> 3 fun(7, 0) -> 7
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=20 z=3
Zadanie 3: dane x = 4 y = 16
*xp = 15, *yp = 21 x=21, y=15
Zadanie 4:
fun(16, 8) -> 11 fun(8, 4) -> 11 fun(3, 3) -> 3 fun(8, 0) -> 8
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=4
Zadanie 3: dane x = 5 y = 17
*xp = 16, *yp = 23 x=23, y=16
Zadanie 4:
fun(16, 30) -> 22 fun(8, 15) -> 22 fun(3, 14) -> 14 fun(8, 3) -> 8
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=22 z=0
Zadanie 3: dane x = 6 y = 18
*xp = 17, *yp = 25 x=25, y=17
Zadanie 4:
fun(16, 19) -> 16 fun(8, 9) -> 16 fun(3, 8) -> 8 fun(8, 1) -> 8
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=1
Zadanie 3: dane x = 7 y = 14
*xp = 13, *yp = 22 x=22, y=13
Zadanie 4:
fun(18, 8) -> 15 fun(10, 4) -> 15 fun(5, 3) -> 5 fun(10, 0) -> 10
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=24 z=2
Zadanie 3: dane x = 8 y = 15
*xp = 14, *yp = 24 x=24, y=14
Zadanie 4:
fun(19, 9) -> 17 fun(11, 4) -> 17 fun(6, 3) -> 6 fun(11, 0) -> 11
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=3
Zadanie 3: dane x = 3 y = 16
*xp = 15, *yp = 20 x=20, y=15
Zadanie 4:
fun(21, 8) -> 21 fun(13, 4) -> 21 fun(8, 3) -> 8 fun(13, 0) -> 13
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=26 z=4
Zadanie 3: dane x = 4 y = 17
*xp = 16, *yp = 22 x=22, y=16
Zadanie 4:
fun(22, 9) -> 23 fun(14, 4) -> 23 fun(9, 3) -> 9 fun(14, 0) -> 14
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=0
Zadanie 3: dane x = 5 y = 18
*xp = 17, *yp = 24 x=24, y=17
Zadanie 4:
fun(15, 17) -> 14 fun(7, 8) -> 14 fun(2, 7) -> 7 fun(7, 1) -> 7
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=28 z=1
Zadanie 3: dane x = 6 y = 14
*xp = 13, *yp = 21 x=21, y=13
Zadanie 4:
fun(15, 24) -> 18 fun(7, 12) -> 18 fun(2, 11) -> 11 fun(7, 2) -> 7
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=2
Zadanie 3: dane x = 7 y = 15
*xp = 14, *yp = 23 x=23, y=14
Zadanie 4:
fun(16, 21) -> 17 fun(8, 10) -> 17 fun(3, 9) -> 9 fun(8, 2) -> 8
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=30 z=3
Zadanie 3: dane x = 8 y = 16
*xp = 15, *yp = 25 x=25, y=15
Zadanie 4:
fun(16, 9) -> 11 fun(8, 4) -> 11 fun(3, 3) -> 3 fun(8, 0) -> 8
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=4
Zadanie 3: dane x = 3 y = 17
*xp = 16, *yp = 21 x=21, y=16
Zadanie 4:
fun(17, 8) -> 13 fun(9, 4) -> 13 fun(4, 3) -> 4 fun(9, 0) -> 9
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=16 z=0
Zadanie 3: dane x = 4 y = 18
*xp = 17, *yp = 23 x=23, y=17
Zadanie 4:
fun(18, 9) -> 15 fun(10, 4) -> 15 fun(5, 3) -> 5 fun(10, 0) -> 10
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=1
Zadanie 3: dane x = 5 y = 14
*xp = 13, *yp = 20 x=20, y=13
Zadanie 4:
fun(20, 8) -> 19 fun(12, 4) -> 19 fun(7, 3) -> 7 fun(12, 0) -> 12
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=18 z=2
Zadanie 3: dane x = 6 y = 15
*xp = 14, *yp = 22 x=22, y=14
Zadanie 4:
fun(21, 9) -> 21 fun(13, 4) -> 21 fun(8, 3) -> 8 fun(13, 0) -> 13
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=3
Zadanie 3: dane x = 7 y = 16
*xp = 15, *yp = 24 x=24, y=15
Zadanie 4:
fun(15, 8) -> 10 fun(7, 4) -> 10 fun(2, 3) -> 3 fun(7, 0) -> 7
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=20 z=4
Zadanie 3: dane x = 8 y = 17
*xp = 16, *yp = 26 x=26, y=16
Zadanie 4:
fun(15, 30) -> 21 fun(7, 15) -> 21 fun(2, 14) -> 14 fun(7, 3) -> 7
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=0
Zadanie 3: dane x = 3 y = 18
*xp = 17, *yp = 22 x=22, y=17
Zadanie 4:
fun(15, 19) -> 15 fun(7, 9) -> 15 fun(2, 8) -> 8 fun(7, 1) -> 7
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=22 z=1
Zadanie 3: dane x = 4 y = 14
*xp = 13, *yp = 19 x=19, y=13
Zadanie 4:
fun(16, 17) -> 15 fun(8, 8) -> 15 fun(3, 7) -> 7 fun(8, 1) -> 8
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=2
Zadanie 3: dane x = 5 y = 15
*xp = 14, *yp = 21 x=21, y=14
Zadanie 4:
fun(16, 24) -> 19 fun(8, 12) -> 19 fun(3, 11) -> 11 fun(8, 2) -> 8
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=24 z=3
Zadanie 3: dane x = 6 y = 16
*xp = 15, *yp = 23 x=23, y=15
Zadanie 4:
fun(17, 9) -> 13 fun(9, 4) -> 13 fun(4, 3) -> 4 fun(9, 0) -> 9
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=4
Zadanie 3: dane x = 7 y = 17
*xp = 16, *yp = 25 x=25, y=16
Zadanie 4:
fun(19, 8) -> 17 fun(11, 4) -> 17 fun(6, 3) -> 6 fun(11, 0) -> 11
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=26 z=0
Zadanie 3: dane x = 8 y = 18
*xp = 17, *yp = 27 x=27, y=17
Zadanie 4:
fun(20, 9) -> 19 fun(12, 4) -> 19 fun(7, 3) -> 7 fun(12, 0) -> 12
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=1
Zadanie 3: dane x = 3 y = 14
*xp = 13, *yp = 18 x=18, y=13
Zadanie 4:
fun(22, 8) -> 23 fun(14, 4) -> 23 fun(9, 3) -> 9 fun(14, 0) -> 14
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=28 z=2
Zadanie 3: dane x = 4 y = 15
*xp = 14, *yp = 20 x=20, y=14
Zadanie 4:
fun(15, 21) -> 16 fun(7, 10) -> 16 fun(2, 9) -> 9 fun(7, 2) -> 7
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=3
Zadanie 3: dane x = 5 y = 16
*xp = 15, *yp = 22 x=22, y=15
Zadanie 4:
fun(15, 9) -> 10 fun(7, 4) -> 10 fun(2, 3) -> 3 fun(7, 0) -> 7
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=30 z=4
Zadanie 3: dane x = 6 y = 17
*xp = 16, *yp = 24 x=24, y=16
Zadanie 4:
fun(16, 8) -> 11 fun(8, 4) -> 11 fun(3, 3) -> 3 fun(8, 0) -> 8
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=0
Zadanie 3: dane x = 7 y = 18
*xp = 17, *yp = 26 x=26, y=17
Zadanie 4:
fun(16, 30) -> 22 fun(8, 15) -> 22 fun(3, 14) -> 14 fun(8, 3) -> 8
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=16 z=1
Zadanie 3: dane x = 8 y = 14
*xp = 13, *yp = 23 x=23, y=13
Zadanie 4:
fun(16, 19) -> 16 fun(8, 9) -> 16 fun(3, 8) -> 8 fun(8, 1) -> 8
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=2
Zadanie 3: dane x = 3 y = 15
*xp = 14, *yp = 19 x=19, y=14
Zadanie 4:
fun(18, 8) -> 15 fun(10, 4) -> 15 fun(5, 3) -> 5 fun(10, 0) -> 10
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=18 z=3
Zadanie 3: dane x = 4 y = 16
*xp = 15, *yp = 21 x=21, y=15
Zadanie 4:
fun(19, 9) -> 17 fun(11, 4) -> 17 fun(6, 3) -> 6 fun(11, 0) -> 11
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=4
Zadanie 3: dane x = 5 y = 17
*xp = 16, *yp = 23 x=23, y=16
Zadanie 4:
fun(21, 8) -> 21 fun(13, 4) -> 21 fun(8, 3) -> 8 fun(13, 0) -> 13
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=20 z=0
Zadanie 3: dane x = 6 y = 18
*xp = 17, *yp = 25 x=25, y=17
Zadanie 4:
fun(22, 9) -> 23 fun(14, 4) -> 23 fun(9, 3) -> 9 fun(14, 0) -> 14
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=1
Zadanie 3: dane x = 7 y = 14
*xp = 13, *yp = 22 x=22, y=13
Zadanie 4:
fun(15, 17) -> 14 fun(7, 8) -> 14 fun(2, 7) -> 7 fun(7, 1) -> 7
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=22 z=2
Zadanie 3: dane x = 8 y = 15
*xp = 14, *yp = 24 x=24, y=14
Zadanie 4:
fun(15, 24) -> 18 fun(7, 12) -> 18 fun(2, 11) -> 11 fun(7, 2) -> 7
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=3
Zadanie 3: dane x = 3 y = 16
*xp = 15, *yp = 20 x=20, y=15
Zadanie 4:
fun(16, 21) -> 17 fun(8, 10) -> 17 fun(3, 9) -> 9 fun(8, 2) -> 8
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=24 z=4
Zadanie 3: dane x = 4 y = 17
*xp = 16, *yp = 22 x=22, y=16
Zadanie 4:
fun(16, 9) -> 11 fun(8, 4) -> 11 fun(3, 3) -> 3 fun(8, 0) -> 8
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=0
Zadanie 3: dane x = 5 y = 18
*xp = 17, *yp = 24 x=24, y=17
Zadanie 4:
fun(17, 8) -> 13 fun(9, 4) -> 13 fun(4, 3) -> 4 fun(9, 0) -> 9
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=26 z=1
Zadanie 3: dane x = 6 y = 14
*xp = 13, *yp = 21 x=21, y=13
Zadanie 4:
fun(18, 9) -> 15 fun(10, 4) -> 15 fun(5, 3) -> 5 fun(10, 0) -> 10
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=2
Zadanie 3: dane x = 7 y = 15
*xp = 14, *yp = 23 x=23, y=14
Zadanie 4:
fun(20, 8) -> 19 fun(12, 4) -> 19 fun(7, 3) -> 7 fun(12, 0) -> 12
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=28 z=3
Zadanie 3: dane x = 8 y = 16
*xp = 15, *yp = 25 x=25, y=15
Zadanie 4:
fun(21, 9) -> 21 fun(13, 4) -> 21 fun(8, 3) -> 8 fun(13, 0) -> 13
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=4
Zadanie 3: dane x = 3 y = 17
*xp = 16, *yp = 21 x=21, y=16
Zadanie 4:
fun(15, 8) -> 10 fun(7, 4) -> 10 fun(2, 3) -> 3 fun(7, 0) -> 7
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=30 z=0
Zadanie 3: dane x = 4 y = 18
*xp = 17, *yp = 23 x=23, y=17
Zadanie 4:
fun(15, 30) -> 21 fun(7, 15) -> 21 fun(2, 14) -> 14 fun(7, 3) -> 7
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=1
Zadanie 3: dane x = 5 y = 14
*xp = 13, *yp = 20 x=20, y=13
Zadanie 4:
fun(15, 19) -> 15 fun(7, 9) -> 15 fun(2, 8) -> 8 fun(7, 1) -> 7
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=16 z=2
Zadanie 3: dane x = 6 y = 15
*xp = 14, *yp = 22 x=22, y=14
Zadanie 4:
fun(16, 17) -> 15 fun(8, 8) -> 15 fun(3, 7) -> 7 fun(8, 1) -> 8
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=3
Zadanie 3: dane x = 7 y = 16
*xp = 15, *yp = 24 x=24, y=15
Zadanie 4:
fun(16, 24) -> 19 fun(8, 12) -> 19 fun(3, 11) -> 11 fun(8, 2) -> 8
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=18 z=4
Zadanie 3: dane x = 8 y = 17
*xp = 16, *yp = 26 x=26, y=16
Zadanie 4:
fun(17, 9) -> 13 fun(9, 4) -> 13 fun(4, 3) -> 4 fun(9, 0) -> 9
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=0
Zadanie 3: dane x = 3 y = 18
*xp = 17, *yp = 22 x=22, y=17
Zadanie 4:
fun(19, 8) -> 17 fun(11, 4) -> 17 fun(6, 3) -> 6 fun(11, 0) -> 11
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=20 z=1
Zadanie 3: dane x = 4 y = 14
*xp = 13, *yp = 19 x=19, y=13
Zadanie 4:
fun(20, 9) -> 19 fun(12, 4) -> 19 fun(7, 3) -> 7 fun(12, 0) -> 12
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=2
Zadanie 3: dane x = 5 y = 15
*xp = 14, *yp = 21 x=21, y=14
Zadanie 4:
fun(22, 8) -> 23 fun(14, 4) -> 23 fun(9, 3) -> 9 fun(14, 0) -> 14
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=22 z=3
Zadanie 3: dane x = 6 y = 16
*xp = 15, *yp = 23 x=23, y=15
Zadanie 4:
fun(15, 21) -> 16 fun(7, 10) -> 16 fun(2, 9) -> 9 fun(7, 2) -> 7
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=4
Zadanie 3: dane x = 7 y = 17
*xp = 16, *yp = 25 x=25, y=16
Zadanie 4:
fun(15, 9) -> 10 fun(7, 4) -> 10 fun(2, 3) -> 3 fun(7, 0) -> 7
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=24 z=0
Zadanie 3: dane x = 8 y = 18
*xp = 17, *yp = 27 x=27, y=17
Zadanie 4:
fun(16, 8) -> 11 fun(8, 4) -> 11 fun(3, 3) -> 3 fun(8, 0) -> 8
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=1
Zadanie 3: dane x = 3 y = 14
*xp = 13, *yp = 18 x=18, y=13
Zadanie 4:
fun(16, 30) -> 22 fun(8, 15) -> 22 fun(3, 14) -> 14 fun(8, 3) -> 8
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=26 z=2
Zadanie 3: dane x = 4 y = 15
*xp = 14, *yp = 20 x=20, y=14
Zadanie 4:
fun(16, 19) -> 16 fun(8, 9) -> 16 fun(3, 8) -> 8 fun(8, 1) -> 8
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=3
Zadanie 3: dane x = 5 y = 16
*xp = 15, *yp = 22 x=22, y=15
Zadanie 4:
fun(18, 8) -> 15 fun(10, 4) -> 15 fun(5, 3) -> 5 fun(10, 0) -> 10
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=28 z=4
Zadanie 3: dane x = 6 y = 17
*xp = 16, *yp = 24 x=24, y=16
Zadanie 4:
fun(19, 9) -> 17 fun(11, 4) -> 17 fun(6, 3) -> 6 fun(11, 0) -> 11
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=0
Zadanie 3: dane x = 7 y = 18
*xp = 17, *yp = 26 x=26, y=17
Zadanie 4:
fun(21, 8) -> 21 fun(13, 4) -> 21 fun(8, 3) -> 8 fun(13, 0) -> 13
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=30 z=1
Zadanie 3: dane x = 8 y = 14
*xp = 13, *yp = 23 x=23, y=13
Zadanie 4:
fun(22, 9) -> 23 fun(14, 4) -> 23 fun(9, 3) -> 9 fun(14, 0) -> 14
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=2
Zadanie 3: dane x = 3 y = 15
*xp = 14, *yp = 19 x=19, y=14
Zadanie 4:
fun(15, 17) -> 14 fun(7, 8) -> 14 fun(2, 7) -> 7 fun(7, 1) -> 7
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=16 z=3
Zadanie 3: dane x = 4 y = 16
*xp = 15, *yp = 21 x=21, y=15
Zadanie 4:
fun(15, 24) -> 18 fun(7, 12) -> 18 fun(2, 11) -> 11 fun(7, 2) -> 7
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=4
Zadanie 3: dane x = 5 y = 17
*xp = 16, *yp = 23 x=23, y=16
Zadanie 4:
fun(16, 21) -> 17 fun(8, 10) -> 17 fun(3, 9) -> 9 fun(8, 2) -> 8
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=18 z=0
Zadanie 3: dane x = 6 y = 18
*xp = 17, *yp = 25 x=25, y=17
Zadanie 4:
fun(16, 9) -> 11 fun(8, 4) -> 11 fun(3, 3) -> 3 fun(8, 0) -> 8
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=1
Zadanie 3: dane x = 7 y = 14
*xp = 13, *yp = 22 x=22, y=13
Zadanie 4:
fun(17, 8) -> 13 fun(9, 4) -> 13 fun(4, 3) -> 4 fun(9, 0) -> 9
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=20 z=2
Zadanie 3: dane x = 8 y = 15
*xp = 14, *yp = 24 x=24, y=14
Zadanie 4:
fun(18, 9) -> 15 fun(10, 4) -> 15 fun(5, 3) -> 5 fun(10, 0) -> 10
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=3
Zadanie 3: dane x = 3 y = 16
*xp = 15, *yp = 20 x=20, y=15
Zadanie 4:
fun(20, 8) -> 19 fun(12, 4) -> 19 fun(7, 3) -> 7 fun(12, 0) -> 12
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=22 z=4
Zadanie 3: dane x = 4 y = 17
*xp = 16, *yp = 22 x=22, y=16
Zadanie 4:
fun(21, 9) -> 21 fun(13, 4) -> 21 fun(8, 3) -> 8 fun(13, 0) -> 13
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=0
Zadanie 3: dane x = 5 y = 18
*xp = 17, *yp = 24 x=24, y=17
Zadanie 4:
fun(15, 8) -> 10 fun(7, 4) -> 10 fun(2, 3) -> 3 fun(7, 0) -> 7
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=24 z=1
Zadanie 3: dane x = 6 y = 14
*xp = 13, *yp = 21 x=21, y=13
Zadanie 4:
fun(15, 30) -> 21 fun(7, 15) -> 21 fun(2, 14) -> 14 fun(7, 3) -> 7
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=2
Zadanie 3: dane x = 7 y = 15
*xp = 14, *yp = 23 x=23, y=14
Zadanie 4:
fun(15, 19) -> 15 fun(7, 9) -> 15 fun(2, 8) -> 8 fun(7, 1) -> 7
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=26 z=3
Zadanie 3: dane x = 8 y = 16
*xp = 15, *yp = 25 x=25, y=15
Zadanie 4:
fun(16, 17) -> 15 fun(8, 8) -> 15 fun(3, 7) -> 7 fun(8, 1) -> 8
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=4
Zadanie 3: dane x = 3 y = 17
*xp = 16, *yp = 21 x=21, y=16
Zadanie 4:
fun(16, 24) -> 19 fun(8, 12) -> 19 fun(3, 11) -> 11 fun(8, 2) -> 8
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=28 z=0
Zadanie 3: dane x = 4 y = 18
*xp = 17, *yp = 23 x=23, y=17
Zadanie 4:
fun(17, 9) -> 13 fun(9, 4) -> 13 fun(4, 3) -> 4 fun(9, 0) -> 9
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=1
Zadanie 3: dane x = 5 y = 14
*xp = 13, *yp = 20 x=20, y=13
Zadanie 4:
fun(19, 8) -> 17 fun(11, 4) -> 17 fun(6, 3) -> 6 fun(11, 0) -> 11
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=30 z=2
Zadanie 3: dane x = 6 y = 15
*xp = 14, *yp = 22 x=22, y=14
Zadanie 4:
fun(20, 9) -> 19 fun(12, 4) -> 19 fun(7, 3) -> 7 fun(12, 0) -> 12
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=3
Zadanie 3: dane x = 7 y = 16
*xp = 15, *yp = 24 x=24, y=15
Zadanie 4:
fun(22, 8) -> 23 fun(14, 4) -> 23 fun(9, 3) -> 9 fun(14, 0) -> 14
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=16 z=4
Zadanie 3: dane x = 8 y = 17
*xp = 16, *yp = 26 x=26, y=16
Zadanie 4:
fun(15, 21) -> 16 fun(7, 10) -> 16 fun(2, 9) -> 9 fun(7, 2) -> 7
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=0
Zadanie 3: dane x = 3 y = 18
*xp = 17, *yp = 22 x=22, y=17
Zadanie 4:
fun(15, 9) -> 10 fun(7, 4) -> 10 fun(2, 3) -> 3 fun(7, 0) -> 7
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=18 z=1
Zadanie 3: dane x = 4 y = 14
*xp = 13, *yp = 19 x=19, y=13
Zadanie 4:
fun(16, 8) -> 11 fun(8, 4) -> 11 fun(3, 3) -> 3 fun(8, 0) -> 8
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=2
Zadanie 3: dane x = 5 y = 15
*xp = 14, *yp = 21 x=21, y=14
Zadanie 4:
fun(16, 30) -> 22 fun(8, 15) -> 22 fun(3, 14) -> 14 fun(8, 3) -> 8
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=20 z=3
Zadanie 3: dane x = 6 y = 16
*xp = 15, *yp = 23 x=23, y=15
Zadanie 4:
fun(16, 19) -> 16 fun(8, 9) -> 16 fun(3, 8) -> 8 fun(8, 1) -> 8
Zadanie 1: x = 0xabab -> 0xbaba
Zadanie 2: p=35 z=4
Zadanie 3: dane x = 7 y = 17
*xp = 16, *yp = 25 x=25, y=16
Zadanie 4:
fun(18, 8) -> 15 fun(10, 4) -> 15 fun(5, 3) -> 5 fun(10, 0) -> 10
Zadanie 1: x = 0xabab -> 0xabba
Zadanie 2: p=22 z=0
Zadanie 3: dane x = 8 y = 18
*xp = 17, *yp = 27 x=27, y=17
Zadanie 4:
fun(19, 9) -> 17 fun(11, 4) -> 17 fun(6, 3) -> 6 fun(11, 0) -> 11
Zadanie 1: x = 0xabba -> 0xbaba
Zadanie 2: p=34 z=1
Zadanie 3: dane x = 3 y = 14
*xp = 13, *yp = 18 x=18, y=13
Zadanie 4:
fun(21, 8) -> 21 fun(13, 4) -> 21 fun(8, 3) -> 8 fun(13, 0) -> 13
Zadanie 1: x = 0xabba -> 0xabab
Zadanie 2: p=24 z=2
Zadanie 3: dane x = 4 y = 15
*xp = 14, *yp = 20 x=20, y=14
Zadanie 4:
fun(22, 9) -> 23 fun(14, 4) -> 23 fun(9, 3) -> 9 fun(14, 0) -> 14
Zadanie 1: x = 0xbaba -> 0xabba
Zadanie 2: p=36 z=3
Zadanie 3: dane x = 5 y = 16
*xp = 15, *yp = 22 x=22, y=15
Zadanie 4:
fun(15, 17) -> 14 fun(7, 8) -> 14 fun(2, 7) -> 7 fun(7, 1) -> 7
Zadanie 1: x = 0xbaba -> 0xabab
Zadanie 2: p=26 z=4
Zadanie 3: dane x = 6 y = 17
*xp = 16, *yp = 24 x=24, y=16
Zadanie 4:
fun(15, 24) -> 18 fun(7, 12) -> 18 fun(2, 11) -> 11 fun(7, 2) -> 7