#include "bits/stdc++.h"
using namespace std;
int main()
{
int n;
cin >> n;
int op=1;
for(int i=1;i<=n;i++)
{
for(int j=1;j<=n;j++)
{
cout << op << " ";
op++;
}
cout << "\n";
}
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
2 ms |
384 KB |
Average condition doesn't hold. |
2 |
Correct |
2 ms |
256 KB |
Output is correct |
3 |
Incorrect |
2 ms |
256 KB |
Average condition doesn't hold. |
4 |
Correct |
2 ms |
384 KB |
Output is correct |
5 |
Incorrect |
2 ms |
256 KB |
Average condition doesn't hold. |
6 |
Incorrect |
2 ms |
384 KB |
Average condition doesn't hold. |
7 |
Incorrect |
2 ms |
384 KB |
Average condition doesn't hold. |
8 |
Incorrect |
3 ms |
384 KB |
Average condition doesn't hold. |
9 |
Incorrect |
3 ms |
384 KB |
Average condition doesn't hold. |
10 |
Incorrect |
3 ms |
384 KB |
Average condition doesn't hold. |