
주어진 코드 #include #include #include int compare(const void* a, const void* b) { return (*(int*)b - *(int*)a); } int func_a(int scores[], int scores_len, int score) { for (int rank = 0; rank < scores_len; rank++) if (scores[rank] == score) return rank + 1; return 0; } void func_b(int arr[], int arr_len) { qsort(arr, arr_len, sizeof(int), compare); } int func_c(int arr[], int n) { return arr[n]; } i..
[코테]/[GroomEdu]
2021. 5. 13. 22:50
공지사항
최근에 올라온 글
TAG
- YBM
- groomedu
- groom
- 기출문제
- 배열
- 알고리즘
- 배열활용문제
- cospro기출
- CosPro
- programmers
- 코딩테스트
- C
- COSPRO 2급
- 구름 기출문제
- c언어 기출문제
- Java
- 코스프로
- 자바
- C++
- c언어
- 프로그래머스
- lv2
- YBM기출
- 1급
- cospro기출문제
- 구름에듀
- lv1
- Cos Pro
- 구름에듀 기출문제
- 연습문제
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함