-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path23810.cpp
More file actions
38 lines (36 loc) · 716 Bytes
/
23810.cpp
File metadata and controls
38 lines (36 loc) · 716 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// 23810. 골뱅이 찍기 - 뒤집힌 ㅋ
// 2022.02.13
// 출력
#include<iostream>
using namespace std;
int main()
{
int n;
cin >> n;
for (int i = 0; i < 5; i++)
{
if (i == 0 or i == 2)
{
for (int j = 0; j < n; j++)
{
for (int k = 0; k < 5 * n; k++)
{
cout << "@";
}
cout << endl;
}
}
else
{
for (int j = 0; j < n; j++)
{
for (int k = 0; k < n; k++)
{
cout << "@";
}
cout << endl;
}
}
}
return 0;
}