QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#731235#9520. Concave Hullucup-team1132Compile Error//C++142.9kb2024-11-10 00:48:592024-11-10 00:48:59

详细

answer.code: In function ‘void solve()’:
answer.code:120:17: error: ‘LLONG_MAX’ was not declared in this scope
  120 |         ll minn=LLONG_MAX;
      |                 ^~~~~~~~~
answer.code:7:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
    6 | #include <algorithm>
  +++ |+#include <climits>
    7 | using namespace std;
answer.code:97:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   97 |         scanf("%d",&n);
      |         ~~~~~^~~~~~~~~
answer.code:99:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   99 |                 scanf("%lld%lld",&p[i].x,&p[i].y);
      |                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~