3955번: 캔디 분배 (acmicpc.net) 1. 전체 코드#include #include using namespace std;long long gcd(long long k, long long c);long long distribute_candy(long long k, long long c);int main() { ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int t; cin >> t; long long k, c; for (int i = 0;i > k >> c; if (k == 1) { if (c == 1) cout pow(10, 9)) { return -1; } else { return t0; }} 2. *•.¸♡ 코⊑ ..