완전 탐색

알고리즘 문제 풀이/1DP_과제(~180615)

171127_1476_날짜 계산

//https://www.acmicpc.net/problem/1476 #include using namespace std; int main(){ int E, S, M; cin >> E >> S >> M; E%=15; S%=28; M%=19; for(int i=1; ;i++) if((i%15)==E && (i%28)==S && (i%19)==M) { cout

bong sue
'완전 탐색' 태그의 글 목록