QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#186354 | #4815. Flower's Land | mekoszc | Compile Error | / | / | C++14 | 1.8kb | 2023-09-23 18:08:03 | 2023-09-23 18:08:03 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:5:82: error: redefinition of ‘int ret’ 5 | int n,k,hd[N],mn,f[N][K],g[N][K],a[N],sz[N],dfn[N],ans[N],rt,ret,vs[N],e_num,idx,ret; | ^~~ answer.code:5:62: note: ‘int ret’ previously declared here 5 | int n,k,hd[N],mn,f[N][K],g[N][K],a[N],sz[N],dfn[N],ans[N],rt,ret,vs[N],e_num,idx,ret; | ^~~ answer.code: In function ‘int main()’: answer.code:74:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 74 | scanf("%d%d",&n,&k); | ~~~~~^~~~~~~~~~~~~~ answer.code:76:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 76 | scanf("%d",a+i); | ~~~~~^~~~~~~~~~ answer.code:78:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 78 | scanf("%d%d",&u,&v),add_edge(u,v),add_edge(v,u); | ~~~~~^~~~~~~~~~~~~~