실행 실패 (제출 코드 컴파일 에러)
Main.cpp:9:6: error: stray ‘#’ in program 9 | }#include <stdio.h> | ^ Main.cpp: In function ‘long long int fibo(int)’: Main.cpp:9:16: error: ‘stdio’ was not declared in this scope; did you mean ‘stdin’? 9 | }#include <stdio.h> | ^~~~~ | stdin Main.cpp:9:7: error: ‘include’ was not declared in this scope 9 | }#include <stdio.h> | ^~~~~~~ Main.cpp:10:1: error: expected primary-expression before ‘long’ 10 | long long dp[1001]; | ^~~~ Main.cpp:11:22: error: a function-definition is not allowed here before ‘{’ token 11 | long long fibo(int n){ | ^ Main.cpp:24:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 24 | int main() { | ^~ Main.cpp:24:9: note: remove parentheses to default-initialize a variable 24 | int main() { | ^~ | -- Main.cpp:24:9: note: or replace parentheses with braces to value-initialize a variable Main.cpp:24:12: error: a function-definition is not allowed here before ‘{’ token 24 | int main() { | ^ Main.cpp: In function ‘int main()’: Main.cpp:50:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 50 | scanf("%d",&n); | ~~~~~^~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.