M과 N사이의 소수를 골라 이들의 합과 최솟값을 찾는 문제 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 #include using namespace std; int main(void) { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int m, n, sum = 0, min = 0, check = 0; cin >> m >> n; for (int i = m; i