문제 링크입니다: https://www.acmicpc.net/problem/4587codewars의 Some Egyptian fractions(http://jaimemin.tistory.com/395?category=987931) 문제를 푼 다음 비슷한 문제가 있어서 풀어봤습니다.직접 테스트 케이스를 입력하고 컴파일을 하면 맞게 나오는데 어디가 틀린건지 도무지 모르겠습니다.혹시 틀린 부분이 있다면 댓글을 통해 알려주시면 정말 감사하겠습니다! #include #include #include using namespace std; const int MAX = 1000000; vector v; //최대공약수long long int gcd(long long int N, long long int D) //great..