1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 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 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
|
#include <iostream> #include <cstring> using namespace std; int main() { bool d; unsigned int des[100] = { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x556B4A7A, 0xD043F107, 0x3DD67E0E, 0xB065623F, 0x32870017, 0xACDA02A2, 0xD185BCEE, 0x015DA6EF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x215432AD, 0xC0848707, 0xD35AEA02, 0xB6707A11, 0xAD521CB0, 0x40DFFB26, 0xC59D8EE9, 0x7FF69654, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 }; label_0: des[0] = 0; label_3: des[1] = 1; label_6: des[2] = des[0 + 10]; label_9: des[3] = des[0 + 10]; label_12: des[4] = des[0 + 10]; label_15: des[5] = 2; label_18: des[6] = 30; label_21: des[3] <<= des[5] & 0x1f; label_24: des[4] >>= des[6] & 0x1f; label_27: des[3] |= des[4]; label_30: des[2] ^= des[3]; label_33: des[3] = des[0 + 10]; label_36: des[4] = des[0 + 10]; label_39: des[5] = 10; label_42: des[6] = 22; label_45: des[3] <<= des[5] & 0x1f; label_48: des[4] >>= des[6] & 0x1f; label_51: des[3] |= des[4]; label_54: des[2] ^= des[3]; label_57: des[3] = des[0 + 10]; label_60: des[4] = des[0 + 10]; label_63: des[5] = 18; label_66: des[6] = 14; label_69: des[3] <<= des[5] & 0x1f; label_72: des[4] >>= des[6] & 0x1f; label_75: des[3] |= des[4]; label_78: des[2] ^= des[3]; label_81: des[3] = des[0 + 10]; label_84: des[4] = des[0 + 10]; label_87: des[5] = 24; label_90: des[6] = 8; label_93: des[3] <<= des[5] & 0x1f; label_96: des[4] >>= des[6] & 0x1f; label_99: des[3] |= des[4]; label_102: des[2] ^= des[3]; label_105: des[des[0] + 10] = des[2]; label_108: des[0] += des[1]; label_111: des[3] = 8; label_114: d = des[0] == des[3]; label_117: if (d == 0) goto label_3; label_120 : des[0] = 0; label_123: des[1] = 1; label_126: des[2] = 50; label_129: des[3] = des[0 + 10]; label_132: des[4] = des[2 + 10]; label_135: d = des[3] == des[4]; label_138: if (d == 0) goto label_159; label_141 : des[0] += des[1]; label_144: des[2] += des[1]; label_147: des[3] = 8; label_150: d = des[0] == des[3]; label_153: if (d == 0) goto label_126; label_156: printf("Success!"); label_159: printf("Wrong!"); }
|