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 |
Tags
- set
- deque
- priority_queue
- union_find
- 스프링부트
- BFS
- Java
- alter
- Properties
- CSS
- map
- html
- spring boot
- javascript
- Calendar
- JPA
- scanner
- 힙덤프
- GC로그수집
- dfs
- Union-find
- 스택
- sql
- 큐
- List
- string
- date
- NIO
- math
- 리소스모니터링
Archives
- Today
- Total
목록알고리즘/구현 (2)
매일 조금씩
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/vPz2p/btq6MzjdZq7/9exohfQA9WkgwnzEfqpE80/img.png)
#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