QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#601771#9434. Italian CuisinemouhuaCompile Error//C++1715.0kb2024-09-30 12:55:132024-09-30 12:55:14

详细

answer.code: In instantiation of ‘T convex<T>::rotcaliper() const [with T = __int128]’:
answer.code:439:27:   required from here
answer.code:409:34: error: no matching function for call to ‘line<__int128>::line(const __gnu_cxx::__alloc_traits<std::allocator<point<__int128> >, point<__int128> >::value_type&, point<__int128>)’
  409 |                 if (cir.relation(line<point_t>(p[i],p[i]-p[nxtj]))==2)break;
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.code:116:29: note: candidate: ‘line<__int128>::line()’
  116 | template<typename T> struct line
      |                             ^~~~
answer.code:116:29: note:   candidate expects 0 arguments, 2 provided
answer.code:116:29: note: candidate: ‘constexpr line<__int128>::line(const line<__int128>&)’
answer.code:116:29: note:   candidate expects 1 argument, 2 provided
answer.code:116:29: note: candidate: ‘constexpr line<__int128>::line(line<__int128>&&)’
answer.code:116:29: note:   candidate expects 1 argument, 2 provided