Skip to content

Commit c773ab0

Browse files
committed
[ADD] BOJ 20944 팰린드롬 척화비
- 문자열
1 parent eb93384 commit c773ab0

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

acmicpc.net/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@
560560
| 71 | [줄번호](https://www.acmicpc.net/problem/4470) | [cpp](source/4470.cpp) | 72 | [단어순서 뒤집기](https://www.acmicpc.net/problem/12605) | [cpp](source/12605.cpp) |
561561
| 73 | [Cryptoquote](https://www.acmicpc.net/problem/2703) | [cpp](source/2703.cpp) | 74 | [원피스](https://www.acmicpc.net/problem/12780) | [cpp](source/12780.cpp) |
562562
| 75 | [driip](https://www.acmicpc.net/problem/23627) | [cpp](source/23627.cpp) | 76 | [스키테일 암호](https://www.acmicpc.net/problem/23080) | [cpp](source/23080.cpp) |
563-
| 77 | [경로당펑크 2077](https://www.acmicpc.net/problem/25205) | [cpp](source/25205.cpp) | | | |
563+
| 77 | [경로당펑크 2077](https://www.acmicpc.net/problem/25205) | [cpp](source/25205.cpp) | 78 | [팰린드롬 척화비](https://www.acmicpc.net/problem/20944) | [cpp](source/20944.cpp) |
564564

565565
</details>
566566

acmicpc.net/source/20944.cpp

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// 20944. 팰린드롬 척화비
2+
// 2022.10.30
3+
// 문자열
4+
#include<iostream>
5+
6+
using namespace std;
7+
8+
int main()
9+
{
10+
int n;
11+
cin >> n;
12+
for (int i = 0; i < n; i++)
13+
{
14+
cout << 'a';
15+
}
16+
cout << endl;
17+
return 0;
18+
}

0 commit comments

Comments
 (0)