QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#329518 | #5463. Range Closest Pair of Points Query | Fantasy_Ball | Compile Error | / | / | C++14 | 1.2kb | 2024-02-16 20:27:11 | 2024-02-16 20:27:12 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:35:21: error: ‘j’ was not declared in this scope 35 | for(j=1;j<i;j++) ins(j,dis(i,j)); | ^ answer.code:23:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 23 | scanf("%d%d",&n,&q); | ~~~~~^~~~~~~~~~~~~~ answer.code:24:32: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 24 | for(i=1;i<=n;i++) scanf("%d%d",&x[i],&y[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~ answer.code:25:32: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 25 | for(i=1;i<=q;i++) scanf("%d%d",&l[i],&r[i]),Q[r[i]].emplace_back(i); | ~~~~~^~~~~~~~~~~~~~~~~~~~