QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#472319 | #4928. Game With Numbers | HuangHanSheng | Compile Error | / | / | C++14 | 687b | 2024-07-11 15:39:34 | 2024-07-11 15:39:35 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:3:7: error: ‘ll’ does not name a type 3 | const ll N=2e4+5,M=2e5+5; | ^~ answer.code:3:7: note: the macro ‘ll’ had not yet been defined answer.code:7: note: it was later defined here 7 | #define ll long long | answer.code:6:13: error: ‘N’ was not declared in this scope 6 | long long a[N],b[M]; | ^ answer.code:6:18: error: ‘M’ was not declared in this scope 6 | long long a[N],b[M]; | ^ answer.code: In function ‘long long int dfs(long int, std::vector<long long int>)’: answer.code:19:36: error: ‘b’ was not declared in this scope 19 | for(ll i=0;i<t;i++)if(v[i]%b[x]==0) ans2.push_back(v[i]);else ans1.push_back(v[i]); | ^ answer.code: In function ‘int main()’: answer.code:27:35: error: ‘a’ was not declared in this scope 27 | for(ll i=1;i<=n;i++) cin>>a[i]; | ^ answer.code:28:35: error: ‘b’ was not declared in this scope 28 | for(ll i=1;i<=m;i++) cin>>b[i]; | ^ answer.code:29:43: error: ‘a’ was not declared in this scope 29 | for(ll i=1;i<=n;i++) aa.push_back(a[i]); | ^