본문 바로가기 메뉴 바로가기

코딩공부

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

코딩공부

검색하기 폼
  • 분류 전체보기 (6)
    • 알고리즘 (6)
    • C# (0)
  • 방명록

전체 글 (6)
C++ 백준 17204번 죽음의 게임

#include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int N, K; int ans = 0; cin >> N >> K; vector a(N); for (int i = 0; i > a[i]; } int temp; vector vi(N); temp = a[0]; while (vi[temp] != true) { ans++; vi[temp] = true; if (temp == K) { cout

알고리즘 2022. 7. 12. 23:16
C++ 백준 1439번 뒤집기

#include #include #include #include #include using namespace std; int main() { double ans = 0; char temp; string a; cin >> a; temp = a[0]; for (int i = 1; i < a.size(); i++) { if (temp == a[i]) { continue; } else { temp = a[i]; ans++; } } cout

알고리즘 2022. 7. 12. 23:14
C++ 백준 1436번 영화감독 숌

#include #include #include #include #include #include #include using namespace std; int main() { int N; cin >> N; int ans = 0; string a; int cal=0; int i = 1; while (1) { a = to_string(i); if(a.find("666")!=string::npos) { ans++; } if (ans == N) { cout

알고리즘 2022. 7. 10. 14:12
이전 1 2 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • WPF
  • 알고리즘
  • 백준
  • radio button
  • C++
  • MVVM
  • c#
more
«   2026/09   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바