1546
-
[1일 1백준 : 1546번] 평균Programming/백준 2021. 1. 17. 16:15
#include int main(void) { std::cin.tie(NULL); std::cout.tie(NULL); std::ios::sync_with_stdio(false); std::cout.precision(10); int N = 0; std::cin >> N; float* index = new float[N]; for (size_t i = 0; i > index[i]; } float max = index[0]; for (size_t i = 1; i max) max = index[i]; } for (size_t i = 0; i < N; i++) { index[i] = ((float)(index[i] / max..