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

하늘리 개발일기

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • 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급] 5차 10번_가장 오래 일한 사람을 구해주세요 (C/C++)

주어진 코드 #include #include #include int solution(int time_table[], int time_table_len, int n) { int answer = 0; //빈칸 return answer; } int main() { int time_table1[] = {1, 5, 1, 9}; int time_table_len1 = 4; int n1 = 3; int ret1 = solution(time_table1, time_table_len1, n1); printf("solution 함수의 반환 값은 %d 입니다.\n", ret1); int time_table2[] = {4, 8, 2, 5, 4, 6, 7}; int time_table_len2 = 7; int n2 = 4; i..

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

티스토리툴바