알고리즘 문제 풀이/1DP_과제(~180615)
171127_4344_평균은 넘겠지
//https://www.acmicpc.net/problem/4344 #include #include using namespace std; int main(){ int C; cin >> C; for(int i=0; i> N; for(int j=0; j> x; sum+=x; s.push(x); } avg=sum/N; for(int j=0; javg) cnt++; s.pop(); } float percent = ((float) cnt/ (float) N )*100; cout