QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#807331 | #56. Nim Product | I_be_wanna | Compile Error | / | / | C++20 | 15.4kb | 2024-12-09 21:31:01 | 2024-12-09 21:31:01 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:266:2: error: stray ‘#’ in program 266 | }#include<bits/stdc++.h> | ^ answer.code:438:2: error: stray ‘#’ in program 438 | }#include<bits/stdc++.h> | ^ answer.code:220:12: error: expected constructor, destructor, or type conversion before ‘(’ token 220 | For(i,0,SZ(vec)-1){ | ^ answer.code:230:5: error: expected declaration before ‘}’ token 230 | } | ^ answer.code:232:5: error: expected unqualified-id before ‘for’ 232 | for(auto [l,r,w]:f[1]){ | ^~~ answer.code:236:8: error: expected constructor, destructor, or type conversion before ‘(’ token 236 | For(i,0,n+1) For(j,0,2) dp[i][j]=inf; | ^ answer.code:237:5: error: ‘dp’ does not name a type 237 | dp[0][0]=0; | ^~ answer.code:238:8: error: expected constructor, destructor, or type conversion before ‘(’ token 238 | For(i,1,n){ | ^ answer.code:244:8: error: expected constructor, destructor, or type conversion before ‘(’ token 244 | For(i,1,n){ | ^ answer.code:253:13: error: ‘inf’ was not declared in this scope 253 | int res=inf; | ^~~ answer.code:253:13: note: the macro ‘inf’ had not yet been defined answer.code:463: note: it was later defined here 463 | #define inf 0x3f3f3f3f3f3f3f3f | answer.code:254:8: error: expected constructor, destructor, or type conversion before ‘(’ token 254 | For(i,0,1) res=min(res,dp[n][i]); | ^ answer.code:255:5: error: expected unqualified-id before ‘if’ 255 | if(res==inf)puts("-1"); | ^~ answer.code:256:5: error: expected unqualified-id before ‘else’ 256 | else cout<<res<<"\n"; | ^~~~ answer.code:257:1: error: expected declaration before ‘}’ token 257 | } | ^ answer.code:259:8: error: redefinition of ‘int main()’ 259 | signed main() | ^~~~ answer.code:61:5: note: ‘int main()’ previously defined here 61 | int main() { | ^~~~ answer.code: In function ‘int main()’: answer.code:264:15: error: ‘work’ was not declared in this scope; did you mean ‘fork’? 264 | while(T--)work(); | ^~~~ | fork answer.code: At global scope: answer.code:266:11: error: ‘bits’ was not declared in this scope 266 | }#include<bits/stdc++.h> | ^~~~ answer.code:266:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 266 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:266:11: error: ‘bits’ was not declared in this scope 266 | }#include<bits/stdc++.h> | ^~~~ answer.code:266:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 266 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:266:11: error: ‘bits’ was not declared in this scope 266 | }#include<bits/stdc++.h> | ^~~~ answer.code:266:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 266 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:266:11: error: ‘bits’ was not declared in this scope 266 | }#include<bits/stdc++.h> | ^~~~ answer.code:266:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 266 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:266:11: error: ‘bits’ was not declared in this scope 266 | }#include<bits/stdc++.h> | ^~~~ answer.code:266:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 266 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:266:11: error: ‘bits’ was not declared in this scope 266 | }#include<bits/stdc++.h> | ^~~~ answer.code:266:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 266 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:266:11: error: ‘bits’ was not declared in this scope 266 | }#include<bits/stdc++.h> | ^~~~ answer.code:266:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 266 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:266:11: error: ‘bits’ was not declared in this scope 266 | }#include<bits/stdc++.h> | ^~~~ answer.code:266:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 266 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:266:11: error: ‘bits’ was not declared in this scope 266 | }#include<bits/stdc++.h> | ^~~~ answer.code:266:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 266 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:266:3: error: ‘include’ does not name a type 266 | }#include<bits/stdc++.h> ...