Algorithm/Algorithm 문제 풀이
[BAE/<JOON> 문제풀이] 1256. 사전
https://www.acmicpc.net/problem/1256 1256번: 사전 첫째 줄에 N, M, K가 순서대로 주어진다. N과 M은 100보다 작거나 같은 자연수이고, K는 1,000,000,000보다 작거나 같은 자연수이다. www.acmicpc.net 더보기 #include #include #include #include #include using namespace std; int n, m; unsigned long long k; vector arr[101][101]; unsigned long long st[101][101]; int ss; vector r(int x, int y, unsigned long long s) { int xy = x + y; if (arr[x][y].size() !..
2020. 6. 12. 20:24