250x250
Notice
Recent Posts
Recent Comments
Link
반응형
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- deque
- JPA
- alter
- Calendar
- javascript
- html
- union_find
- spring boot
- string
- Java
- GC로그수집
- set
- date
- BFS
- Properties
- scanner
- NIO
- priority_queue
- dfs
- List
- 힙덤프
- 스택
- math
- sql
- map
- CSS
- 리소스모니터링
- 큐
- 스프링부트
- Union-find
Archives
- Today
- Total
목록알고리즘/구현 (2)
매일 조금씩

#include #include using namespace std; int main() { string s; cin >> s; int j = s.size() - 1; int count = 0; for (int i = 0; i < s.size(); i++) { if (s[i] == s[j--]) count++; } if (count == s.size()) cout
알고리즘/구현
2021. 6. 8. 19:51