Algorithm 알고리즘/BAEKJOON 백준
[백준]BOJ_18110_solved.ac_S4
개복치96
2023. 8. 7. 00:55
반응형
https://www.acmicpc.net/problem/18110
18110번: solved.ac
5명의 15%는 0.75명으로, 이를 반올림하면 1명이다. 따라서 solved.ac는 가장 높은 난이도 의견과 가장 낮은 난이도 의견을 하나씩 제외하고, {5, 5, 7}에 대한 평균으로 문제 난이도를 결정한다.
www.acmicpc.net
이 문제는 딱히 로직은 어려운게 없다.
시간 초과를 피하느라 시간이 조금 걸렸다.
처음에는 정렬을 Arrays로 해서 그런가 해서 Collections로 바꿨다.
그래도 시간초과가 떠서 최대한 변수 선언을 없앴고,
그래도 시간 초과가 떠서 BufferedReader를 사용했다.
https://github.com/Headfish96/Online-Judge/tree/main
GitHub - Headfish96/Online-Judge: This is a auto push repository for Baekjoon Online Judge created with [BaekjoonHub](https://gi
This is a auto push repository for Baekjoon Online Judge created with [BaekjoonHub](https://github.com/BaekjoonHub/BaekjoonHub). - GitHub - Headfish96/Online-Judge: This is a auto push repository f...
github.com
반응형