알고리즘 문제 풀이/1DP_과제(~180615)
180430_2845_파티가 끝나고 난 뒤
#include using namespace std; int main(){ int l, p; cin >> l >> p; int ans=l*p; for(int i=0; i> x; cout
#include using namespace std; int main(){ int l, p; cin >> l >> p; int ans=l*p; for(int i=0; i> x; cout
//https://www.acmicpc.net/problem/2799 #include #include using namespace std; int cnt[5];int main(){ int m, n; cin >> m >>n; char win[501][501]; for(int i=0; i> win[i]; } for(int i=1; i
//https://www.acmicpc.net/problem/2959 #include #include using namespace std; int main(){ int n[4]; for(int i=0; i> n[i]; sort(n, n+4); cout
//https://www.acmicpc.net/problem/1236 #include #include using namespace std; int main(){ bool chk[50][2]={0,}; int n, m; cin >> n >> m; for(int i=0; i> s; for(int j=0; j