QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#604391 | #7900. Gifts from Knowledge | ucup-team2454# | Compile Error | / | / | C++20 | 1.3kb | 2024-10-02 10:32:38 | 2024-10-02 10:32:39 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:2:1: error: ‘L’ does not name a type 2 | L qmi(L x,int k){ | ^ answer.code:12:10: error: ‘N’ was not declared in this scope 12 | bool vis[N],ch[N]; | ^ answer.code:12:16: error: ‘N’ was not declared in this scope 12 | bool vis[N],ch[N]; | ^ answer.code: In function ‘void dfs1(int)’: answer.code:17:8: error: ‘vis’ was not declared in this scope 17 | if(vis[i^1])return ans=0,void(); | ^~~ answer.code:18:8: error: ‘vis’ was not declared in this scope 18 | if(vis[i])return; | ^~~ answer.code:20:5: error: ‘vis’ was not declared in this scope 20 | vis[i]=1; | ^~~ answer.code:22:17: error: ‘ft’ was not declared in this scope 22 | for(int col:ft[u]){ | ^~ answer.code: In function ‘void dfs2(int)’: answer.code:27:8: error: ‘ch’ was not declared in this scope; did you mean ‘cc’? 27 | if(ch[col])return ans=0,void(); | ^~ | cc answer.code:28:5: error: ‘ch’ was not declared in this scope; did you mean ‘cc’? 28 | ch[col]=1; | ^~ | cc answer.code:29:15: error: ‘e’ was not declared in this scope 29 | for(int u:e[col]){ | ^ answer.code: In function ‘void solve()’: answer.code:35:26: error: ‘e’ was not declared in this scope 35 | for(int i=1;i<=m;++i)e[i].clear(),vis[i]=0,ch[i]=0; | ^ answer.code:35:39: error: ‘vis’ was not declared in this scope 35 | for(int i=1;i<=m;++i)e[i].clear(),vis[i]=0,ch[i]=0; | ^~~ answer.code:35:48: error: ‘ch’ was not declared in this scope; did you mean ‘cc’? 35 | for(int i=1;i<=m;++i)e[i].clear(),vis[i]=0,ch[i]=0; | ^~ | cc answer.code:36:26: error: ‘ft’ was not declared in this scope 36 | for(int i=1;i<=n;++i)ft[i].clear(); | ^~ answer.code:37:5: error: ‘cin’ was not declared in this scope 37 | cin>>n>>m; | ^~~ answer.code:39:21: error: ‘s’ was not declared in this scope 39 | scanf("%s",(s+1)); | ^ answer.code:39:9: error: ‘scanf’ was not declared in this scope 39 | scanf("%s",(s+1)); | ^~~~~ answer.code:43:27: error: ‘puts’ was not declared in this scope 43 | if(cnt>m){puts("0");return;} | ^~~~ answer.code:44:17: error: ‘ft’ was not declared in this scope 44 | ft[i*2].push_back(j); | ^~ answer.code:47:17: error: ‘e’ was not declared in this scope 47 | e[j].push_back(i*2); | ^ answer.code:54:12: error: ‘vis’ was not declared in this scope 54 | if(vis[i*2]==0&&vis[i*2+1]==0)cc=0,dfs1(i*2); | ^~~ answer.code:56:5: error: ‘cout’ was not declared in this scope 56 | cout<<ans*qmi(2,cc)<<endl; | ^~~~ answer.code:56:15: error: ‘qmi’ was not declared in this scope 56 | cout<<ans*qmi(2,cc)<<endl; | ^~~ answer.code:56:26: error: ‘endl’ was not declared in this scope 56 | cout<<ans*qmi(2,cc)<<endl; | ^~~~ answer.code: In function ‘int main()’: answer.code:61:5: error: ‘cin’ was not declared in this scope 61 | cin>>T; | ^~~