#include <bits/stdc++.h>
using namespace std;
int main() {
bitset<10000> bs("0111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000010010000000000000100000000000001000000011111111011111111101111111111111111111111111001111111111111111110111101111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001000000000001111111111111111111111111111111111111111111111111111111111111111011111111111111111111111011111111111000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000100010000000000000001000000000000000000001100101000000000000000000101111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001010000000100001000000000000000000000000000000100000000000000000000000000000000100000000000000000000001111111111111111111111111111111111111111111111111111111111111111101111111111111011111011111111111111000000000000000000000000000000000010010000000000000000000000000000000000000001000000000000000000000100000000100000000000000000000000000000000000000000000000000000000000000000001000000000101000110001001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000011111011110111111110111111111011111111111111111111111111111111111111111111111111111111111111111111111000000000000000100000000000000010000000000100000100000000000000000000001000000000000000000000000000100000000000001010000000000010001000000000000000000000100000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111101111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010010000000000000000000001000000000001000000000010000000000000000000000010000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111101111111111111111000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100100100000000001000100000000000000000000000000000000000000000000000000000000000000000000000000000001111111110111111111111111111111111111111111111111111111110111101111111111111011111111111111111111101100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000010000000000001010000001000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111101000000000000000000000010000000000000000000000000000000000000000000100000000000000000000010000000000100000000000010000000000000000000000000000000000000000000000000100000000000100000000000000000000000011111111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000010000001000000000000000010010000000000001000000010000100000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111000000100000000000000000000000000001000001000000000000000000001000000000000000000000000000000000000100010000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000010011111111111111111111111111111111111111111111111111111111111111111111111111111111101111101111101111111100010000000000000000000000000000000000000000010000000000000000000000000000000000000001000000000001010000000000000000000000000000000000000000000000000000000000000000000000000000000001000100000000000001111111111111011111111111110111111111111111111111111111011111111111111111111111111111111111111111011000000000000000010000000000000000000000000000000000001000000000000000100000000000000100000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000001000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101111111111111111101111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000100000000000000000000000000001001010001000000000000000000000000000001000000000000000000000000000000011111111111111111111111101111110111111111111111111111111111111111011110111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010010000000000000100000000000000000000000001000000000000000000000000000000000000000000000000000000001111110111011111111111111111111111111111111111111111111111111111111111111111111111111111110111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111110111111111101100011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111111000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000100100000000000000000000000000010000000000000000010000000000000000000000000000000000000000000000000001100111111111111111111111111111111111111111111111111111111111111111111111111111111111011111101111110100000000000000000000000000000100000010000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001001111111111111111111111111111111111111111011101111111111111111111111111111111111111111111111111111111000000000000001001000000000000000000000000000000000000100000000000000001000000000000010000010000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001011111111111111111111111111111111111111101111111111111111111111111111011111111111111111111111101111111100000000000000000000000000000000000000000000000000000000000000000001000000000000100000000000000000010010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001001111111111111111111111110111110111111111111111111111111111111101111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000001000000000000000001000000000100001001000000000000000000000000000000000000000000000000000000000000000000000000000000011010000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011111111100000000000000000010000000100000000000001000000000000100000000000100000000000000000000001000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110111111110111111111111101110111111111011111000000000000000000000000000000100000000000000000001000000000000000000100000001100000000000000000000100010000000000000000000000000000000000000000000000000000000000000000000000001010000000000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000010000000000000001000000000000000000000000000000000000000100000000000000000000000000000000000001111111111111101111111111111111011111011111111011111111111101111111111111111111111111110111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000101000000000000000000010000000000000000000000000000000000100000000000011000000000000000000000011111111111111111110111011111101111111111111111111111111111101111111111111111111110111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000100000000000000000000000000000000001000000000000000000000000000000000000000010000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111001000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000001000001000000000000100000000000000000000000000000000000000000000000000001000000000000011111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111100000000000100000000000000000000000000000000000000000000000000000000000000000001000000000000000000010000000000010000001000000000000000000000100000000010000000000000000000000000000010000000000000000001111111111111101111111011111111111111111111111111111111111111111111111011111111111111111111111111111000000000100000000000000101000000000000000000000000000000000000000000000000000000000000000000000000100000000001000000000000010000000000000000000000000010000001000000000000001000000000000000000000000011111110111111111100111111111111111111111111111111110111111111111111111111011111111111111111111011101");
for (int i = 0; i < 100; ++i) {
for (int j = 0; j < 100; ++j) cout << bs[i * 100 + j];
cout << "\n";
}
}
1 2 3 4 5 6 7 8 9 10 | #include <bits/stdc++.h> using namespace std; int main() { bitset<10000> bs("0111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000010010000000000000100000000000001000000011111111011111111101111111111111111111111111001111111111111111110111101111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001000000000001111111111111111111111111111111111111111111111111111111111111111011111111111111111111111011111111111000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000100010000000000000001000000000000000000001100101000000000000000000101111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001010000000100001000000000000000000000000000000100000000000000000000000000000000100000000000000000000001111111111111111111111111111111111111111111111111111111111111111101111111111111011111011111111111111000000000000000000000000000000000010010000000000000000000000000000000000000001000000000000000000000100000000100000000000000000000000000000000000000000000000000000000000000000001000000000101000110001001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000011111011110111111110111111111011111111111111111111111111111111111111111111111111111111111111111111111000000000000000100000000000000010000000000100000100000000000000000000001000000000000000000000000000100000000000001010000000000010001000000000000000000000100000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111101111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010010000000000000000000001000000000001000000000010000000000000000000000010000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111101111111111111111000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100100100000000001000100000000000000000000000000000000000000000000000000000000000000000000000000000001111111110111111111111111111111111111111111111111111111110111101111111111111011111111111111111111101100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000010000000000001010000001000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111101000000000000000000000010000000000000000000000000000000000000000000100000000000000000000010000000000100000000000010000000000000000000000000000000000000000000000000100000000000100000000000000000000000011111111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000010000001000000000000000010010000000000001000000010000100000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111000000100000000000000000000000000001000001000000000000000000001000000000000000000000000000000000000100010000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000010011111111111111111111111111111111111111111111111111111111111111111111111111111111101111101111101111111100010000000000000000000000000000000000000000010000000000000000000000000000000000000001000000000001010000000000000000000000000000000000000000000000000000000000000000000000000000000001000100000000000001111111111111011111111111110111111111111111111111111111011111111111111111111111111111111111111111011000000000000000010000000000000000000000000000000000001000000000000000100000000000000100000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000001000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101111111111111111101111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000100000000000000000000000000001001010001000000000000000000000000000001000000000000000000000000000000011111111111111111111111101111110111111111111111111111111111111111011110111111111111111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010010000000000000100000000000000000000000001000000000000000000000000000000000000000000000000000000001111110111011111111111111111111111111111111111111111111111111111111111111111111111111111110111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111110111111111101100011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111111000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000100100000000000000000000000000010000000000000000010000000000000000000000000000000000000000000000000001100111111111111111111111111111111111111111111111111111111111111111111111111111111111011111101111110100000000000000000000000000000100000010000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001001111111111111111111111111111111111111111011101111111111111111111111111111111111111111111111111111111000000000000001001000000000000000000000000000000000000100000000000000001000000000000010000010000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001011111111111111111111111111111111111111101111111111111111111111111111011111111111111111111111101111111100000000000000000000000000000000000000000000000000000000000000000001000000000000100000000000000000010010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001001111111111111111111111110111110111111111111111111111111111111101111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000001000000000000000001000000000100001001000000000000000000000000000000000000000000000000000000000000000000000000000000011010000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011111111100000000000000000010000000100000000000001000000000000100000000000100000000000000000000001000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111110111111110111111111111101110111111111011111000000000000000000000000000000100000000000000000001000000000000000000100000001100000000000000000000100010000000000000000000000000000000000000000000000000000000000000000000000001010000000000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000010000000000000001000000000000000000000000000000000000000100000000000000000000000000000000000001111111111111101111111111111111011111011111111011111111111101111111111111111111111111110111111111111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000101000000000000000000010000000000000000000000000000000000100000000000011000000000000000000000011111111111111111110111011111101111111111111111111111111111101111111111111111111110111111111111111111100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000100000000000000000000000000000000001000000000000000000000000000000000000000010000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111001000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000001000001000000000000100000000000000000000000000000000000000000000000000001000000000000011111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111100000000000100000000000000000000000000000000000000000000000000000000000000000001000000000000000000010000000000010000001000000000000000000000100000000010000000000000000000000000000010000000000000000001111111111111101111111011111111111111111111111111111111111111111111111011111111111111111111111111111000000000100000000000000101000000000000000000000000000000000000000000000000000000000000000000000000100000000001000000000000010000000000000000000000000010000001000000000000001000000000000000000000000011111110111111111100111111111111111111111111111111110111111111111111111111011111111111111111111011101"); for (int i = 0; i < 100; ++i) { for (int j = 0; j < 100; ++j) cout << bs[i * 100 + j]; cout << "\n"; } } |
English