본문 바로가기

-

검색하기
-
프로필사진 Boogallee

  • 분류 전체보기 (58)
    • Algorithm (35)
      • Baekjoon (32)
      • SSW (3)
      • 새롭게 다시 풀기 (0)
    • Embedded (0)
    • CS (0)
      • Git (0)
    • Project (0)
      • [Android] (0)
    • CS Language Note (8)
      • C++ 정리 (2)
      • Javascript (5)
    • 알고리즘 Note (9)
    • 주식 관련 공부 (0)
    • ISTQB TM (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/12   »
일 월 화 수 목 금 토
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
Tags
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Algorithm (35)

-

1192(틀림_해결)

#include using namespace std; int main(){ int n; int cnt = 1; int UB = 1; int M=1,B=1; int num=1; bool flag = false; cin>>n; while(!flag) { if(num%2==0) { for(int i=1; i=1; i--) { if(n==cnt) { M = i; B = num-i+1; flag=true; break; } cnt++; } } UB = num+cnt; num++; } cout

Algorithm/Baekjoon 2018. 1. 2. 12:23
2292

#include using namespace std; void F(int a[]){ for(int i=0; i

Algorithm/Baekjoon 2018. 1. 2. 10:40
1316

#include #include using namespace std; int main(){ int n; int ans = 0; cin>>n; while(n--) { bool flag = false; int a = 0; string str; cin>>str; for(int i=0; i

Algorithm/Baekjoon 2017. 12. 29. 11:25
Prev 1 2 3 4 5 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바