실행 실패 (제출 코드 컴파일 에러)
Main.cpp:15:5: warning: built-in function ‘index’ declared as non-function [-Wbuiltin-declaration-mismatch] 15 | int index[100002]; | ^~~~~ Main.cpp: In function ‘int main()’: Main.cpp:148:39: error: too few arguments to function ‘void update(int, int, int, int, int, int, int)’ 148 | update(dist[1][index[j]], dist[1][index[j]]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Main.cpp:86:6: note: declared here 86 | void update(int x,int l,int r,int s,int e,int v,int b){ | ^~~~~~ Main.cpp:120:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 120 | scanf("%d",&n); | ~~~~~^~~~~~~~~ Main.cpp:123:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 123 | scanf("%d%d%d",&apart[0],&apart[1],&apart[2]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Main.cpp:124:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 124 | scanf("%d",&m); | ~~~~~^~~~~~~~~ Main.cpp:126:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 126 | scanf("%d%d%d",&u,&v,&c); | ~~~~~^~~~~~~~~~~~~~~~~~~ Main.cpp:153:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 153 | scanf("%d",&t); | ~~~~~^~~~~~~~~ Main.cpp:155:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 155 | scanf("%d",&u); | ~~~~~^~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.