Странно, что i и j нигде не участвуют в циклахПри x = 01 p = 1 * cos(0) = 1 * 1 = 12 p = 1 * cos(0) = 1 * 1 = 13 p = 1 * cos(0) = 1 * 1 = 14 p = 1 * cos(0) = 1 * 1 = 15 p = 1 * cos(0) = 1 * 1 = 16 p = 1 * cos(0) = 1 * 1 = 17 p = 1 * cos(0) = 1 * 1 = 18 p = 1 * cos(0) = 1 * 1 = 19 p = 1 * cos(0) = 1 * 1 = 110 p = 1 * cos(0) = 1 * 1 = 1s = 0 + 1 = 1===============================11 p = 1 * cos(0) = 1 * 1 = 112 p = 1 * cos(0) = 1 * 1 = 113 p = 1 * cos(0) = 1 * 1 = 114 p = 1 * cos(0) = 1 * 1 = 115 p = 1 * cos(0) = 1 * 1 = 116 p = 1 * cos(0) = 1 * 1 = 117 p = 1 * cos(0) = 1 * 1 = 118 p = 1 * cos(0) = 1 * 1 = 119 p = 1 * cos(0) = 1 * 1 = 120 p = 1 * cos(0) = 1 * 1 = 1s = 1 + 1 = 2===============================21 p = 1 * cos(0) = 1 * 1 = 122 p = 1 * cos(0) = 1 * 1 = 123 p = 1 * cos(0) = 1 * 1 = 124 p = 1 * cos(0) = 1 * 1 = 125 p = 1 * cos(0) = 1 * 1 = 126 p = 1 * cos(0) = 1 * 1 = 127 p = 1 * cos(0) = 1 * 1 = 128 p = 1 * cos(0) = 1 * 1 = 129 p = 1 * cos(0) = 1 * 1 = 130 p = 1 * cos(0) = 1 * 1 = 1s = 2 + 1 = 3===============================31 p = 1 * cos(0) = 1 * 1 = 132 p = 1 * cos(0) = 1 * 1 = 133 p = 1 * cos(0) = 1 * 1 = 134 p = 1 * cos(0) = 1 * 1 = 135 p = 1 * cos(0) = 1 * 1 = 136 p = 1 * cos(0) = 1 * 1 = 137 p = 1 * cos(0) = 1 * 1 = 138 p = 1 * cos(0) = 1 * 1 = 139 p = 1 * cos(0) = 1 * 1 = 140 p = 1 * cos(0) = 1 * 1 = 1s = 3 + 1 = 4===============================41 p = 1 * cos(0) = 1 * 1 = 142 p = 1 * cos(0) = 1 * 1 = 143 p = 1 * cos(0) = 1 * 1 = 144 p = 1 * cos(0) = 1 * 1 = 145 p = 1 * cos(0) = 1 * 1 = 146 p = 1 * cos(0) = 1 * 1 = 147 p = 1 * cos(0) = 1 * 1 = 148 p = 1 * cos(0) = 1 * 1 = 149 p = 1 * cos(0) = 1 * 1 = 150 p = 1 * cos(0) = 1 * 1 = 1s = 4 + 1 = 5===============================51 p = 1 * cos(0) = 1 * 1 = 152 p = 1 * cos(0) = 1 * 1 = 153 p = 1 * cos(0) = 1 * 1 = 154 p = 1 * cos(0) = 1 * 1 = 155 p = 1 * cos(0) = 1 * 1 = 156 p = 1 * cos(0) = 1 * 1 = 157 p = 1 * cos(0) = 1 * 1 = 158 p = 1 * cos(0) = 1 * 1 = 159 p = 1 * cos(0) = 1 * 1 = 160 p = 1 * cos(0) = 1 * 1 = 1s = 5 + 1 = 6===============================61 p = 1 * cos(0) = 1 * 1 = 162 p = 1 * cos(0) = 1 * 1 = 163 p = 1 * cos(0) = 1 * 1 = 164 p = 1 * cos(0) = 1 * 1 = 165 p = 1 * cos(0) = 1 * 1 = 166 p = 1 * cos(0) = 1 * 1 = 167 p = 1 * cos(0) = 1 * 1 = 168 p = 1 * cos(0) = 1 * 1 = 169 p = 1 * cos(0) = 1 * 1 = 170 p = 1 * cos(0) = 1 * 1 = 1s = 6 + 1 = 7===============================71 p = 1 * cos(0) = 1 * 1 = 172 p = 1 * cos(0) = 1 * 1 = 173 p = 1 * cos(0) = 1 * 1 = 174 p = 1 * cos(0) = 1 * 1 = 175 p = 1 * cos(0) = 1 * 1 = 176 p = 1 * cos(0) = 1 * 1 = 177 p = 1 * cos(0) = 1 * 1 = 178 p = 1 * cos(0) = 1 * 1 = 179 p = 1 * cos(0) = 1 * 1 = 180 p = 1 * cos(0) = 1 * 1 = 1s = 7 + 1 = 8===============================81 p = 1 * cos(0) = 1 * 1 = 182 p = 1 * cos(0) = 1 * 1 = 183 p = 1 * cos(0) = 1 * 1 = 184 p = 1 * cos(0) = 1 * 1 = 185 p = 1 * cos(0) = 1 * 1 = 186 p = 1 * cos(0) = 1 * 1 = 187 p = 1 * cos(0) = 1 * 1 = 188 p = 1 * cos(0) = 1 * 1 = 189 p = 1 * cos(0) = 1 * 1 = 190 p = 1 * cos(0) = 1 * 1 = 1s = 8 + 1 = 9===============================91 p = 1 * cos(0) = 1 * 1 = 192 p = 1 * cos(0) = 1 * 1 = 193 p = 1 * cos(0) = 1 * 1 = 194 p = 1 * cos(0) = 1 * 1 = 195 p = 1 * cos(0) = 1 * 1 = 196 p = 1 * cos(0) = 1 * 1 = 197 p = 1 * cos(0) = 1 * 1 = 198 p = 1 * cos(0) = 1 * 1 = 199 p = 1 * cos(0) = 1 * 1 = 1100 p = 1 * cos(0) = 1 * 1 = 1s = 9 + 1 = 10===============================10