일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- ㅇ
- !doctype html
- html
- 십진수 16진수
- 백준4344번
- 異端なスター
- 마법이라고 불러도 좋을까?
- React.js
- 魔法っていっていいかな
- 오버플로우
- 아스키코드로 숫자 넣기
- meta charset=
- 平井堅
- Official髭男dism
- 문자열숫자를 숫자로
- 히라이켄
- HEAD
- 십진수 8진수
- body
- 자료형
- 백준 11720
- 아스키코드
- 백준 8958번
- 정수와 상수
- Today
- Total
목록Programming (65)
갓비니

/ 그냥 최소, 최대 출력 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 int main() { int a,max,min; cin >> a; int *arr = new int[a]; for (int i = 0; i > arr[i]; if (i == 0) { max = arr[0]; min = arr[0]; } if (arr[i] >= max) { max = arr[i]; } if (arr[i]

5단계 3번 세 수 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 #include using namespace std; int main() { int arr[3]; cin >> arr[0] >> arr[1] >> arr[2]; int max_num=0, min_num=0; for (int i = 0; i arr[max_num])max_num = i; if (arr[i] Colored by Color Scripter 한문제 푸는데 왜케 오래걸리는건지... ㅠㅠㅠ;;;

4단계(3문제), 5단계(1번,2번) 4단계 while - 2번 (A+B-4) 1 2 3 4 5 6 7 8 9 10 11 12 #include using namespace std; int main() { int a, b; while (cin >> a >> b) { cout b) \n 해주는 것이다. endl은 별다른 역할이 없었네 ㅎㅎㅎㅎㅎㅎㅎㅎ endl은 \n보다 실행속도가 느리다고 한다(개행+내부 버퍼를 비워준다고함.) 4단계 while - 3번 (더하기 사이클) 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 #include using namespace std; //1110번 int main() { in..

오늘은 for문 단계를 마무리하였다. (9,10,11번) 기본중의 기본! 별 찍기 문제... 하튼 이 셋도 간단했다 ㅠㅠ 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 #include using namespace std; //11 int main() { int number, compare; cin >> number >> compare; int *A = new int[number]; for (int i = 0; i > A[i]; } for ..