실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘std::pair<std::vector<PseudoDigit>, std::vector<PseudoDigit> > generatePseudoDigits(ll, ll, int)’: Main.cpp:65:40: error: ‘POW’ was not declared in this scope 65 | a_pd.value = a_digits[i] * POW(p, a_pd.length) + a_pd.value; | ^~~ Main.cpp: In function ‘ll C(ll, ll, ll)’: Main.cpp:97:32: error: ‘modInv’ was not declared in this scope 97 | result = (result * modInv(i + 1, m)) % m; // This requires modInv to be defined | ^~~~~~ Main.cpp: In function ‘ll LT(ll, ll, int)’: Main.cpp:150:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 150 | for (int i = 0; i < K_digits.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ Main.cpp: In function ‘ll LTE(ll, ll, int, int)’: Main.cpp:185:32: warning: comparison of integer expressions of different signedness: ‘std::vector<PseudoDigit>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 185 | while (a_pseudo.size() < n_param) { | ~~~~~~~~~~~~~~~~^~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.