| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 713476 | lam | ICC (CEOI16_icc) | C++14 | 컴파일 에러 | 0 ms | 0 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
컴파일 시 표준 에러 (stderr) 메시지
icc.cpp: In function 'bool query2(int, int, std::vector<int>, std::vector<int>)':
icc.cpp:41:12: error: 'query' was not declared in this scope; did you mean 'query2'?
41 | return query(x,y,a,b);
| ^~~~~
| query2
icc.cpp: In function 'bool query3(int, int, std::vector<int>, std::vector<int>)':
icc.cpp:49:12: error: 'query' was not declared in this scope; did you mean 'query3'?
49 | return query(sz1,sz2,a,b);
| ^~~~~
| query3
icc.cpp:46:9: warning: unused variable 'x' [-Wunused-variable]
46 | int x=0,y=0;
| ^
icc.cpp:46:13: warning: unused variable 'y' [-Wunused-variable]
46 | int x=0,y=0;
| ^
icc.cpp: In function 'ii trace(std::vector<int>, std::vector<int>)':
icc.cpp:74:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | for (int i=0; i<tmp_le.size(); i++) if (i<=mid) tmp_le1.push_back(tmp_le[i]);
| ~^~~~~~~~~~~~~~
icc.cpp: In function 'ii trace2(std::vector<int>, std::vector<int>)':
icc.cpp:90:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
90 | for (int i=0; i<tmp_le.size(); i++) if (i<=mid) tmp_le1.push_back(tmp_le[i]);
| ~^~~~~~~~~~~~~~
icc.cpp: In function 'void run(int)':
icc.cpp:106:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
106 | if (p[i]==i) tmp.push_back(i); chan[i].clear(), le[i].clear();
| ^~
icc.cpp:106:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
106 | if (p[i]==i) tmp.push_back(i); chan[i].clear(), le[i].clear();
| ^~~~
icc.cpp:129:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
129 | for (int i=mid; i<le[level].size(); i++)
| ~^~~~~~~~~~~~~~~~~
icc.cpp:131:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
131 | for (int i=mid; i<chan[level].size(); i++)
| ~^~~~~~~~~~~~~~~~~~~
icc.cpp:143:9: error: 'setRoad' was not declared in this scope
143 | setRoad(canh.ff, canh.ss);
| ^~~~~~~