QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#35141 | #4272. Phone Plans | SuffixTree | Compile Error | / | / | C++17 | 2.1kb | 2022-06-14 07:20:32 | 2022-06-14 07:20:34 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:42:27: error: ‘INT_MAX’ was not declared in this scope 42 | ll res=n,p=m2;int ans=INT_MAX; | ^~~~~~~ answer.code:6:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’? 5 | #include<map> +++ |+#include <climits> 6 | #include<vector> answer.code:24:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 24 | int n;ll k; scanf("%d%d%d%lld",&n,&m1,&m2,&k); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code:25:33: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 25 | for(int i=1;i<=m1;i++) scanf("%d%d%d",&r1[i].x,&r1[i].y,&r1[i].w); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code:26:33: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 26 | for(int i=1;i<=m2;i++) scanf("%d%d%d",&r2[i].x,&r2[i].y,&r2[i].w); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~