COCI

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

180209_3052_나머지

//https://www.acmicpc.net/problem/3052 #include using namespace std;int num[1001];int main(){ int mx=0; int ans=0; for(int i=0; i> A; num[A%42]++; if(A>mx) mx=A; } for(int i=0; i0) ans++; } cout

bong sue
'COCI' 태그의 글 목록