전체 글439 백준 11057번 C++ #include#includeusing namespace std; const int DIV = 10007;int n;int ascend[10][1001]; int calascend() {memset(ascend, 0, sizeof(ascend)); for (int i = 0; i 2019. 1. 17. 백준 9461번 C++ #include#includeusing namespace std; int n;long long length[101]; long long trianglelength() {length[1] = length[2] = length[3] =1;length[4] = length[5] = 2; for (int i = 6; i > test_case;for (int i = 0; i > n;cout 2019. 1. 17. 백준 9465번 C++ #include#includeusing namespace std; int n;int sticker[2][100001];int stickercal[2][100001]; int stickercount() {stickercal[0][0] = sticker[0][0];stickercal[1][0] = sticker[1][0];stickercal[0][1] = sticker[1][0] + sticker[0][1];stickercal[1][1] = sticker[0][0] + sticker[1][1]; for (int i = 2; i < n; i++) {stickercal[0][i] = sticker[0][i] + max(stickercal[1][i - 1], stickercal[1][i - 2]);stickerc.. 2019. 1. 17. 백준 2163번 C++ #includeusing namespace std; int n, m;int divide[301][301]; int main(void) {cin >> n >> m;cout 2019. 1. 16. 이전 1 ··· 82 83 84 85 86 87 88 ··· 110 다음