실행 실패 (제출 코드 컴파일 에러)
Main.cpp:4:9: error: ‘__float128’ does not name a type; did you mean ‘_Float128’? 4 | typedef __float128 lf; | ^~~~~~~~~~ | _Float128 Main.cpp:6:1: error: ‘lf’ does not name a type; did you mean ‘ld’? 6 | lf A, B, C; | ^~ | ld Main.cpp:9:1: error: ‘lf’ does not name a type; did you mean ‘ld’? 9 | lf sin(lf x) { | ^~ | ld Main.cpp:23:1: error: ‘lf’ does not name a type; did you mean ‘ld’? 23 | lf cos(lf x) { | ^~ | ld Main.cpp:37:1: error: ‘__float128’ does not name a type; did you mean ‘_Float128’? 37 | __float128 f(__float128 x) { | ^~~~~~~~~~ | _Float128 Main.cpp:41:1: error: ‘__float128’ does not name a type; did you mean ‘_Float128’? 41 | __float128 fp(__float128 x) { | ^~~~~~~~~~ | _Float128 Main.cpp: In function ‘void solve()’: Main.cpp:47:9: error: ‘A’ was not declared in this scope 47 | A = a, B = b, C = c; | ^ Main.cpp:47:16: error: ‘B’ was not declared in this scope 47 | A = a, B = b, C = c; | ^ Main.cpp:47:23: error: ‘C’ was not declared in this scope 47 | A = a, B = b, C = c; | ^ Main.cpp:48:9: error: ‘__float128’ was not declared in this scope; did you mean ‘_Float128’? 48 | __float128 x = 0.0; | ^~~~~~~~~~ | _Float128 Main.cpp:50:27: error: expected ‘;’ before ‘nx’ 50 | __float128 nx = x - f(x) / fp(x); | ^~~ | ; Main.cpp:51:17: error: ‘x’ was not declared in this scope 51 | x = nx; | ^ Main.cpp:51:21: error: ‘nx’ was not declared in this scope 51 | x = nx; | ^~ Main.cpp:55:22: error: ‘x’ was not declared in this scope 55 | cout << (ld) x; | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.