백준 1977번 완전제곱수 [C언어] Sol1) 배열을 사용하지 않은 풀이 #include #include int main() { int from, to, min; //min = 가장 작은 완전 제곱수를 저장할 변수 int cnt = 0, sum = 0, flag = 0; //flag로 처음 들어오는 완전 제곱수를 체크한다. scanf("%d", &from); scanf("%d", &to); for(int i = from; i BOJ 2022.08.08