QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#488305 | #9156. 百万富翁 | forest114514 | Compile Error | / | / | C++14 | 1.7kb | 2024-07-23 20:38:34 | 2024-07-23 20:38:35 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:2:17: error: ‘IO’ is not a namespace-name 2 | using namespace IO; | ^~ answer.code:6:1: error: ‘vector’ does not name a type 6 | vector<int> A,B,res,tmp,num,chk,ans; | ^~~~~~ answer.code: In function ‘void qry()’: answer.code:9:9: error: ‘res’ was not declared in this scope 9 | res.clear(); | ^~~ answer.code:10:17: error: ‘A’ was not declared in this scope 10 | res=ask(A,B); | ^ answer.code:10:19: error: ‘B’ was not declared in this scope 10 | res=ask(A,B); | ^ answer.code: In function ‘int get_max(int)’: answer.code:15:13: error: ‘i’ was not declared in this scope 15 | rep(i,0,siz-1) rep(j,0,i-1) mx[i][j]=tmp[++top]; | ^ answer.code:15:9: error: ‘rep’ was not declared in this scope 15 | rep(i,0,siz-1) rep(j,0,i-1) mx[i][j]=tmp[++top]; | ^~~ answer.code:18:17: error: ‘chk’ was not declared in this scope 18 | int ret=chk[pos]; | ^~~ answer.code:19:21: error: ‘tmp’ was not declared in this scope; did you mean ‘top’? 19 | chk.clear();tmp.clear(); | ^~~ | top answer.code: In function ‘void solve(int, int)’: answer.code:23:17: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 23 | int tot=num.size(),bl=tot/len; | ^~~ | enum answer.code:24:12: error: ‘bl’ was not declared in this scope 24 | if(bl==1){ | ^~ answer.code:25:21: error: ‘i’ was not declared in this scope 25 | rep(i,0,tot-1)rep(j,0,i-1) A.pb(num[i]),B.pb(num[j]); | ^ answer.code:25:17: error: ‘rep’ was not declared in this scope 25 | rep(i,0,tot-1)rep(j,0,i-1) A.pb(num[i]),B.pb(num[j]); | ^~~ answer.code:36:21: error: ‘i’ was not declared in this scope 36 | rep(i,1,bl){ | ^ answer.code:36:25: error: ‘bl’ was not declared in this scope; did you mean ‘l’? 36 | rep(i,1,bl){ | ^~ | l answer.code:36:17: error: ‘rep’ was not declared in this scope 36 | rep(i,1,bl){ | ^~~ answer.code:54:21: error: ‘i’ was not declared in this scope 54 | rep(i,1,n){ | ^ answer.code:54:17: error: ‘rep’ was not declared in this scope 54 | rep(i,1,n){ | ^~~ answer.code:62:25: error: ‘bl’ was not declared in this scope; did you mean ‘l’? 62 | rep(i,1,bl){ | ^~ | l answer.code:70:13: error: ‘ans’ was not declared in this scope 70 | num=ans; | ^~~ answer.code: In function ‘int richest(int, int, int)’: answer.code:75:13: error: ‘i’ was not declared in this scope 75 | rep(i,0,n-1) num.pb(i); | ^ answer.code:75:9: error: ‘rep’ was not declared in this scope 75 | rep(i,0,n-1) num.pb(i); | ^~~ answer.code:87:16: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 87 | return num[0]; | ^~~ | enum