[1970] : ์ฌ์ด ๊ฑฐ์ค๋ฆ๋ #include using namespace std; void getChange(int); int main(void){ int testCase; cin >> testCase; for(int test = 0; test > changeM; getChange(changeM); } return 0; } void getChange(int money){ int mType[8]{0,}; int static trial = 1; while(money > 9){ if(money >= 50000){ mType[0] += 1; money -= 50000; } else if(money >= 10000){ mType[1] += 1..
[1859] : ๋ฐฑ๋ง ์ฅ์ ํ๋ก์ ํธ #include using namespace std; int main(void) { int testCase; int day; cin >> testCase; long * ans = new long[testCase]; for (int i = 0; i > day; long * price = new long[day]; long total = 0; for (int j = 0; j > price[j]; long max = price[day - 1]; for (int j = day - 2; j > -1; j--) if (price[j] < max) total += (max - price[j]); else ma..
[1986] : ์ง๊ทธ์ฌ๊ทธ ์ซ์ #include #include #include using namespace std; vector answer; void printAnswer(int); int main(void){ int testCase; cin >> testCase; for(int test = 0; test > num; for(int n = 1; n < num + 1; n++){ if(n % 2 == 0) sum -= n; else sum += n; } answer.push_back(sum); } printAnswer(testCase); return 0; } void printAnswer(int testCase){ for(in..
[2046] : ์คํฌํ ์ฐ๊ธฐ #include using namespace std; int main(void){ int N; cin >> N; for(int i = 0; i input; int i = 0, c; while((c = input[i])){ putchar(toupper(c)); i++; } } [2050] : ์ํ๋ฒณ์ ์ซ์๋ก ๋ณํ #include #include using namespace std; int main(void){ string input; cin >> input; int size = input.length(); for(int i = 0; i < size; i++) cout N; string dates[N], ans[N]; for(int i = 0; i ..
[2063] : ์ค๊ฐ ๊ฐ ์ฐพ๊ธฐ #include using namespace std; int main(void){ int N, mid; cin >> N; mid = N / 2; int arr[N]; for(int i = 0; i > arr[i]; for (int i = 0; i < N - 1; i++){ int min = i; for(int j = i + 1; j < N; j++) if(arr[j] < arr[min]) min = j; int tmp = arr[min]; arr[min] = arr[i]; arr[i] = tmp; } cout testCase; for (int i = 0; i < testCase; i++) { int big = -1; for (int j = 0; j..
- Total
- Today
- Yesterday
- ์๊ณ ๋ฆฌ์ฆ
- ํ๋ก๊ทธ๋๋จธ์ค
- ์ปด๊ณผ์กธ์
- ์ผ์ฑ์ํํธ์จ์ด์์นด๋ฐ๋ฏธ
- RxSwift
- ์ฝ๋ฉํ ์คํธ
- ๋ณด์
- C++
- ์ํํธ์จ์ด์์นด๋ฐ๋ฏธ
- ์ปค๋ฅํธ์ฌ๋จ
- ์กธ์ ์ํ
- nosql
- ์ธํด
- ์ด์์ฒด์
- firebase
- ์ผ์ฑ
- ios
- ๋ฐ์ดํฐ๋ถ์
- TableView
- ์ปดํจํฐ๊ณตํ
- ๋ถ์บ
- ๋ถ์คํธ์บ ํ2020
- ์ํํธ์จ์ด์ญ๋์ํ
- swacademy
- ์ฝํ
- OS
- SWIFT
- ์ปด๊ณต์กธ์
- ๊ฐ๋ฐ์์ธํด
- ๋ถ์คํธ์บ ํ
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |