1 solutions
-
0
C++ :
#include<bits/stdc++.h> using namespace std; int n; int main() { cin>>n; for(int i=1;i<=n;i++) { for(int j=1;j<=n;j++) cout<<i; cout<<endl; } return 0; }Pascal :
var n,i,j:longint; begin readln(n); for i:=1 to n do begin for j:=1 to n do begin write(i); end; writeln; end; end.
- 1
Information
- ID
- 17823
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By