QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#584068 | #8676. Three Kinds of Dice | ucup-team3022 | Compile Error | / | / | C++14 | 8.7kb | 2024-09-23 07:07:53 | 2024-09-23 07:07:54 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve(std::vector<Point<T> >&)’: answer.code:182:16: error: missing template arguments before ‘p’ 182 | for (Point p : intersect) { | ^ answer.code:205:5: error: expected primary-expression before ‘for’ 205 | for (int i = 0; i < hull.size(); i++) { | ^~~ answer.code:204:24: error: expected ‘)’ before ‘for’ 204 | halfplanes.clear(); | ^ | ) 205 | for (int i = 0; i < hull.size(); i++) { | ~~~ answer.code:182:9: note: to match this ‘(’ 182 | for (Point p : intersect) { | ^ answer.code:212:16: error: missing template arguments before ‘p’ 212 | for (Point p : intersect) { | ^ answer.code:216:1: error: expected primary-expression before ‘}’ token 216 | } | ^ answer.code:215:45: error: expected ‘)’ before ‘}’ token 215 | cout << min_d2 << " " << max_d1 << "\n"; | ^ | ) 216 | } | ~ answer.code:212:9: note: to match this ‘(’ 212 | for (Point p : intersect) { | ^ answer.code:216:1: error: expected primary-expression before ‘}’ token 216 | } | ^ answer.code: In instantiation of ‘void solve(std::vector<Point<T> >&) [with T = double]’: answer.code:291:10: required from here answer.code:204:21: error: could not convert ‘halfplanes.std::vector<Halfplane<double>, std::allocator<Halfplane<double> > >::clear()’ from ‘void’ to ‘bool’ 204 | halfplanes.clear(); | ~~~~~~~~~~~~~~~~^~ | | | void