QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#598384 | #9434. Italian Cuisine | ucup-team244# | Compile Error | / | / | C++17 | 1.5kb | 2024-09-28 21:35:08 | 2024-09-28 21:35:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve()’: answer.code:52:18: error: no matching function for call to ‘dis(std::pair<int, int>&, std::pair<int, int>&, std::pair<int, int>)’ 52 | while(dis(p[i],p[rr+1],mp(x,y))&&cross(p[rr+1],mp(x,y),p[i])>0){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ answer.code:24:13: note: candidate: ‘long double dis(std::pair<long long int, long long int>, std::pair<long long int, long long int>)’ 24 | long double dis(pll p,pll q){ | ^~~ answer.code:24:13: note: candidate expects 2 arguments, 3 provided answer.code:27:6: note: candidate: ‘bool dis(std::pair<long long int, long long int>, std::pair<long long int, long long int>, std::pair<long long int, long long int>, long long int)’ 27 | bool dis(pll p,pll q,pll o, LL r){ | ^~~ answer.code:27:6: note: candidate expects 4 arguments, 3 provided answer.code:39:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 39 | scanf("%d",&n); | ~~~~~^~~~~~~~~ answer.code:41:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 41 | scanf("%d %d %d",&x,&y,&r); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ answer.code:44:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | scanf("%d %d",&x,&y); | ~~~~~^~~~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:65:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 65 | scanf("%d",&t); | ~~~~~^~~~~~~~~