알고리즘

C++ 알고리즘 - 백준 13909 창문 닫기

마루설아 2025. 1. 12. 18:17

https://www.acmicpc.net/problem/13909

 

#include <bits/stdc++.h>
#define endl "\n"

using namespace std;

void CPP_INIT() {
	ios::sync_with_stdio(false);
	cin.tie(NULL);
	cout.tie(NULL);
}

int main(void) {
	CPP_INIT();

	int input;
	cin >> input;
	cout << int(sqrt(input));
}