QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#66351 | #5015. 树 | hjl666 | Compile Error | / | / | C++14 | 231b | 2022-12-08 11:53:42 | 2022-12-08 11:53:46 |
Judging History
你现在查看的是最新测评结果
- [2023-08-10 23:21:45]
- System Update: QOJ starts to keep a history of the judgings of all the submissions.
- [2022-12-08 11:53:46]
- 评测
- 测评结果:Compile Error
- 用时:0ms
- 内存:0kb
- [2022-12-08 11:53:42]
- 提交
answer
#include"tree.h"
int ask(int u,std::vector<int>v);
void answer(int u,int v);
void solver(int n,int A,int B){
for(int i=1;i<=n;i++){
for(int j=i+1;j<=n;j++){
int res=ask(i,j);
if(res==1)answer(i,j);
}
}
}
Details
implementer.cpp: In function ‘void regduj260135279::init()’: implementer.cpp:32:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 32 | scanf("%d",&n); | ~~~~~^~~~~~~~~ implementer.cpp:45:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 45 | scanf("%d%d",&u,&v); | ~~~~~^~~~~~~~~~~~~~ answer.code: In function ‘void solver(int, int, int)’: answer.code:10:39: error: could not convert ‘j’ from ‘int’ to ‘std::vector<int>’ 10 | int res=ask(i,j); | ^ | | | int