실행 실패 (제출 코드 컴파일 에러)
Main.cpp:15:5: warning: built-in function ‘index’ declared as non-function [-Wbuiltin-declaration-mismatch] 15 | int index[100001]; | ^~~~~ Main.cpp: In function ‘int main()’: Main.cpp:142:49: error: request for member ‘rank’ in ‘dist[i]’, which is of non-class type ‘int [100001]’ 142 | if(query(dist[1][i]) >= dist[i].rank[2]) | ^~~~ Main.cpp:143:42: error: request for member ‘index’ in ‘dist[i]’, which is of non-class type ‘int [100001]’ 143 | possible[dist[i].index] = true; | ^~~~~ Main.cpp:146:39: error: too few arguments to function ‘void update(int, int, int, int, int, int, int)’ 146 | update(dist[1][j], dist[1][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:151:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 151 | scanf("%d",&t); | ~~~~~^~~~~~~~~ Main.cpp:153:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 153 | scanf("%d",&u); | ~~~~~^~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.