알고리즘 문제 풀이/1DP_과제(~180615)
171229_11399_ATM
//https://www.acmicpc.net/problem/11399#include #include using namespace std;int time1[1000]; int main() { int n,ans; cin >> n; for(int i=0; i> time1[i]; sort(time1, time1+n); ans=0; for(int i=0; i