실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘pollard_rho’: Main.c:71:13: warning: implicit declaration of function ‘gcd_ll’ [-Wimplicit-function-declaration] 71 | d = gcd_ll((x > y) ? (x - y) : (y - x), n); | ^~~~~~ Main.c: At top level: Main.c:83:5: error: conflicting types for ‘gcd_ll’; have ‘ull(ull, ull)’ {aka ‘long long unsigned int(long long unsigned int, long long unsigned int)’} 83 | ull gcd_ll(ull a, ull b) { | ^~~~~~ Main.c:71:13: note: previous implicit declaration of ‘gcd_ll’ with type ‘int()’ 71 | d = gcd_ll((x > y) ? (x - y) : (y - x), n); | ^~~~~~ Main.c: In function ‘main’: Main.c:131:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 131 | scanf("%llu", &n); | ^~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.