2026년 자응대학 겨울 알고리즘 캠프 종료 대회

A B2029 코끼리 물 마시기 - 로그 수학 문제로, 원주율 π를 100배한 정수값을 사용하여 부동소수점 오차를 방지합니다. #include <iostream> using namespace std; void calculate() { int height, radius; cin >> height >> radius; int cylinderVol = height * 314 * radius * radius; int totalWater = 2000000; // 20L * 1000cm³/L * 100 (스 ...

6월 5일 01:08에 게시됨