Bigdata
close
프로필 배경
프로필 로고

Bigdata

  • 분류 전체보기 (299)
    • BS (0)
      • review (0)
      • study (0)
      • submission (0)
    • Computer Science (20)
      • Data Structure (0)
      • Algorithm (19)
      • OS (0)
      • ML, DL (0)
      • AI (0)
      • NLP (0)
      • Linear Algebra (0)
    • Statistics (33)
      • BSA (33)
      • ANOVA (0)
      • MSA (0)
      • Regression Analysis (0)
    • SQL (95)
    • Tableau (0)
    • Java (1)
    • DA (26)
    • TIL (0)
    • SAS (0)
    • Python (9)
    • DACON (8)
      • Project (0)
    • ST (2)
      • Deep Learning project (22-1.. (0)
      • Kaggle project (22-1) (0)
      • DACON_BASIC (22-1) (0)
      • Data (0)
      • Data Mining (0)
      • Kaggle project (21-2) (1)
      • Deep Learning (1)
    • C (103)
    • Etc (1)
  • 홈
  • 태그
  • 방명록
#31. [백준_C언어] 1152 : 단어의 개수

#31. [백준_C언어] 1152 : 단어의 개수

입력 코드 #include #include #include main() { char s[1000000]; int i, len; int num = 0, space = 0; gets(s); len = strlen(s); for (i = 0; i < len; i++) { if (s[i] == ' ') space++; } num = space + 1; if (len == space) { num = 0; printf("%d", num); } else { if (isspace(s[0])) num--; if (isspace(s[len - 1])) num--; printf("%d", num); } } 코드 설명 #배열 #공백 #조건문 #논리연산자 #fgets #isspace #include #include main()..

  • format_list_bulleted C
  • · 2021. 1. 16.
  • textsms
#30. [백준_C언어] 1157 : 단어 공부

#30. [백준_C언어] 1157 : 단어 공부

입력 코드 #include #include main() { char s[1000000]; int num[26] = { 0, }; int i, j, max = 0; int max_index; scanf("%s", s); for (i = 'a'; i

  • format_list_bulleted C
  • · 2021. 1. 14.
  • textsms
#29. [백준_C언어] 10809 : 알파벳 찾기

#29. [백준_C언어] 10809 : 알파벳 찾기

입력 코드 #include #include main() { char S[100]; int num[26]; int i, j; scanf("%s", S); for (i = 0; i < 26; i++) { num[i] = -1; } for (i = 'a'; i = '97' && S[i]

  • format_list_bulleted C
  • · 2021. 1. 14.
  • textsms
#28. [백준_C언어] 4673 : 셀프 넘버

#28. [백준_C언어] 4673 : 셀프 넘버

입력 코드 #include int SelfNumber(int n) { int sum = n; while (1) { if (n == 0) break; sum += n % 10; n = n / 10; } return sum; } main() { int i = 1, temp; int arr[10001] = { 0, }; for (i = 1; i < 10001; i++) { temp = SelfNumber(i); if (temp < 10001) arr[temp] = 1; } for (i = 1; i < 10001; i++) { if (arr[i] != 1) printf("%d\n", i); } return 0; } 코드 설명 배열과 반복문, 조건문을 이용해 함수를 작성하는 문제 #include void Self..

  • format_list_bulleted C
  • · 2021. 1. 13.
  • textsms
#27. [백준_C언어] 15596 : 정수 N개의 합

#27. [백준_C언어] 15596 : 정수 N개의 합

입력 코드 long long sum(int *a, int n) { long long ans = 0; int i; for (i = 0; i < n; i++) { ans += a[i]; } return ans; } 코드 설명 정수 n개의 합을 return하는 sum함수를 작성하는 문제 배열과 반복문을 이용하는 문제 #include void sum(int a[], int n) { int i, sum = 0; for (i = 0; i < n; i++) { sum += a[i]; } printf("%d", sum); } main() { int arr[5] = { 2, 4, 6, 3, 1 }; sum(arr, 5); } 포인터를 잘 몰라서 처음에는 이렇게 작성하고 제대로 작동하는지 확인해봤는데, 제출할 때 기본으로..

  • format_list_bulleted C
  • · 2021. 1. 13.
  • textsms
#26. [백준_C언어] 4344 : 평균은 넘겠지

#26. [백준_C언어] 4344 : 평균은 넘겠지

입력 코드 #include main() { int C, N; scanf("%d", &C); int i, j; int arr[1000]; for (i = 0; i mean) count++; } printf("%.3f", (double)count / N * 100); printf("%%\n"); } } 코드 설명 반복문과 조건문, 배열, 초기화를 이용하는 문제 #incl..

  • format_list_bulleted C
  • · 2021. 1. 12.
  • textsms
  • navigate_before
  • 1
  • ···
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • ···
  • 18
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (299)
    • BS (0)
      • review (0)
      • study (0)
      • submission (0)
    • Computer Science (20)
      • Data Structure (0)
      • Algorithm (19)
      • OS (0)
      • ML, DL (0)
      • AI (0)
      • NLP (0)
      • Linear Algebra (0)
    • Statistics (33)
      • BSA (33)
      • ANOVA (0)
      • MSA (0)
      • Regression Analysis (0)
    • SQL (95)
    • Tableau (0)
    • Java (1)
    • DA (26)
    • TIL (0)
    • SAS (0)
    • Python (9)
    • DACON (8)
      • Project (0)
    • ST (2)
      • Deep Learning project (22-1.. (0)
      • Kaggle project (22-1) (0)
      • DACON_BASIC (22-1) (0)
      • Data (0)
      • Data Mining (0)
      • Kaggle project (21-2) (1)
      • Deep Learning (1)
    • C (103)
    • Etc (1)
최근 글
인기 글
최근 댓글
태그
  • #order by
  • #count
  • #Where
  • #C언어
  • #select
  • #group by
  • #수학
  • #백준
  • #join
  • #반복문
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바