#include <bits/stdc++.h> using namespace std; int main() { for (int i=0; i<100; i++){ for(int j=0; j<100; j++){ if (i==j){cout<<1; continue;} cout<<0; } cout<<"\n"; } return 0; }
1 2 3 4 5 6 7 8 9 10 11 12 13 | #include <bits/stdc++.h> using namespace std; int main() { for (int i=0; i<100; i++){ for(int j=0; j<100; j++){ if (i==j){cout<<1; continue;} cout<<0; } cout<<"\n"; } return 0; } |