본문 바로가기

말랑한 하루

검색하기
말랑한 하루
프로필사진 지수는말랑이

  • 분류 전체보기 (245)
    • Algorithm (10)
    • 문제풀이 (155)
      • BAEKJOON Online Judge (75)
      • SWexpert Academy (36)
      • Programmers (42)
      • 정보 (2)
    • 개발 (77)
      • React (0)
      • Flutter (75)
      • Android (0)
      • 기타 (2)
    • 면접 (1)
      • 후기 (1)
    • Github (2)
Guestbook
반응형
Recent Posts
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록문제풀이/SWexpert Academy (36)

말랑한 하루

[SW Expert Academy] 5215 햄버거 다이어트 [C++]

[ 핵심풀이 ] 1) 순열 조합 2) 0/1 냅색 알고리즘 [ 핵심소스 ] [ C++ ] 1) 순열 조합 #include #include #pragma warning(disable:4996) using namespace std; #define endl "\n" #define MAX 21 int total, max_cal; int high_cal = 0; int high_score = 0; typedef struct data { int score; int cal; }Data; Data food[MAX]; bool visit[MAX]; void solve(int index, int score, int sum_cal) { if (sum_cal > max_cal) return; high_score = high_..

문제풀이/SWexpert Academy 2021. 1. 20. 01:20
[SW Expert Academy] 4406 모음이 보이지 않는 사람 [C++]

[ 핵심풀이 ] [ 핵심소스 ] [ C++ ] #include #include using namespace std; #define endl "\n" #define tap "\t" #define MAX 27 bool alpha[MAX]; int main() { int tc; cin >> tc; alpha['a' - 'a'] = true; alpha['e' - 'a'] = true; alpha['i' - 'a'] = true; alpha['o' - 'a'] = true; alpha['u' - 'a'] = true; for (int t = 1; t > temp; cout

문제풀이/SWexpert Academy 2021. 1. 20. 01:17
Prev 1 ··· 12 13 14 15 16 17 18 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바