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

하늘리 개발일기

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

하늘리 개발일기

검색하기 폼
  • 분류 전체보기 (138)
    • [코테] (133)
      • [Programmers Lv1] (43)
      • [Programmers Lv2] (19)
      • [GroomEdu] (61)
      • [Programmers] (0)
      • [YBM-sample] (10)
    • [Android] (1)
      • 이론 (0)
      • Kotlin (0)
      • JAVA (0)
    • [반성문] (1)
    • [클론코딩] (1)
    • [React-Node.js] (0)
  • 방명록

점수구하기 (1)
[COS PRO 2급] 3차 3번_체조 선수의 점수 구해주기 (C/C++)

주어진 코드 #include #include #include int solution(int scores[], int scores_len) { int answer = 0; //빈칸 return answer; } int main() { int scores1[10] = { 35, 28, 98, 34, 20, 50, 85, 74, 71, 7 }; int scores1_len = 10; int ret1 = solution(scores1, scores1_len); printf("solution 함수의 반환 값은 %d 입니다.\n", ret1); int scores2[5] = { 1, 1, 1, 1, 1 }; int scores2_len = 5; int ret2 = solution(scores2, scores2_le..

[코테]/[GroomEdu] 2021. 5. 14. 16:00
이전 1 다음
이전 다음
공지사항
  • About Me
최근에 올라온 글
TAG
  • 구름에듀 기출문제
  • C
  • 구름 기출문제
  • 자바
  • YBM
  • COSPRO 2급
  • lv2
  • 연습문제
  • cospro기출
  • 코딩테스트
  • programmers
  • 배열활용문제
  • 코스프로
  • YBM기출
  • lv1
  • Java
  • groomedu
  • 기출문제
  • CosPro
  • C++
  • groom
  • 알고리즘
  • 구름에듀
  • Cos Pro
  • 배열
  • c언어
  • c언어 기출문제
  • 1급
  • 프로그래머스
  • cospro기출문제
more
«   2025/05   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바