구현

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

171224_5565_영수증

//https://www.acmicpc.net/problem/5565 #include using namespace std; int main(){ int total, now; cin >> total; for(int i=0; i> now; total-=now; } cout

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

171224_5543_상근날드

//https://www.acmicpc.net/problem/5543 #include using namespace std; int main(){ int hbg=2100; int bvrg=2100; for(int i=0;i> x; if(hbg>x) hbg=x; } for(int i=0; i> y; if(bvrg>y) bvrg=y; } cout

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

171224_10797_10부제

//https://www.acmicpc.net/problem/10797 #include using namespace std; int main(){ int day,x; cin >> day; int cnt=0; for(int i=0; i>x; if(day==x) cnt++; } cout

bong sue
'구현' 태그의 글 목록 (3 Page)