QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#639959 | #5419. Triangles | ucup-team2540 | Compile Error | / | / | C++20 | 7.1kb | 2024-10-14 00:35:58 | 2024-10-14 00:35:58 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘bool check(const std::vector<std::vector<point> >&)’: answer.code:61:9: error: ‘de’ was not declared in this scope 61 | de(res); | ^~ answer.code: At global scope: answer.code:159:5: error: redefinition of ‘long long int T’ 159 | int T, n; | ^ answer.code:5:5: note: ‘long long int T’ previously declared here 5 | int T, n; | ^ answer.code:159:8: error: redefinition of ‘long long int n’ 159 | int T, n; | ^ answer.code:5:8: note: ‘long long int n’ previously declared here 5 | int T, n; | ^ answer.code:161:8: error: redefinition of ‘struct point’ 161 | struct point { | ^~~~~ answer.code:7:8: note: previous definition of ‘struct point’ 7 | struct point { | ^~~~~ answer.code:190:5: error: redefinition of ‘long long int area2(const std::vector<point>&)’ 190 | int area2(const vector<point>& tri) { | ^~~~~ answer.code:40:5: note: ‘long long int area2(const std::vector<point>&)’ previously defined here 40 | int area2(const vector<point>& tri) { | ^~~~~ answer.code:194:5: error: redefinition of ‘long long int area2(const std::vector<std::vector<point> >&)’ 194 | int area2(const vector<vector<point>>& tris) { | ^~~~~ answer.code:44:5: note: ‘long long int area2(const std::vector<std::vector<point> >&)’ previously defined here 44 | int area2(const vector<vector<point>>& tris) { | ^~~~~ answer.code:200:6: error: redefinition of ‘bool check(const std::vector<point>&)’ 200 | bool check(const vector<point>& tri) { | ^~~~~ answer.code:50:6: note: ‘bool check(const std::vector<point>&)’ previously defined here 50 | bool check(const vector<point>& tri) { | ^~~~~ answer.code:207:6: error: redefinition of ‘bool check(const std::vector<std::vector<point> >&)’ 207 | bool check(const vector<vector<point>>& tris) { | ^~~~~ answer.code:57:6: note: ‘bool check(const std::vector<std::vector<point> >&)’ previously defined here 57 | bool check(const vector<vector<point>>& tris) { | ^~~~~ answer.code:217:11: error: redefinition of ‘const long long int e9’ 217 | const int e9 = 1e9, e8 = 1e8; | ^~ answer.code:67:11: note: ‘const long long int e9’ previously defined here 67 | const int e9 = 1e9, e8 = 1e8, e7 = 1e7; | ^~ answer.code:217:21: error: redefinition of ‘const long long int e8’ 217 | const int e9 = 1e9, e8 = 1e8; | ^~ answer.code:67:21: note: ‘const long long int e8’ previously defined here 67 | const int e9 = 1e9, e8 = 1e8, e7 = 1e7; | ^~ answer.code:219:23: error: redefinition of ‘std::vector<std::vector<point> > ans’ 219 | vector<vector<point>> ans; | ^~~ answer.code:69:23: note: ‘std::vector<std::vector<point> > ans’ previously defined here 69 | vector<vector<point>> ans; | ^~~ answer.code:221:6: error: redefinition of ‘bool solve()’ 221 | bool solve() { | ^~~~~ answer.code:71:6: note: ‘bool solve()’ previously defined here 71 | bool solve() { | ^~~~~ answer.code:259:8: error: redefinition of ‘int main()’ 259 | signed main() { | ^~~~ answer.code:132:8: note: ‘int main()’ previously defined here 132 | signed main() { | ^~~~