[알고리즘] 백준 5724 - 파인만 (C++) [문제 링크] : https://www.acmicpc.net/problem/5724#include using namespace std;int main(){ int N; while(true){ int Ans = 0; cin >> N; if(N == 0){ break; } Ans += N * N + 1; for(int i=2; i 알고리즘 2025.04.07