QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#471719 | #3098. Ancient Machine | egypt_ioi2024_12 | Compile Error | / | / | C++20 | 2.5kb | 2024-07-11 05:37:17 | 2024-07-11 05:37:17 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Anna.code:4:1: error: ‘ll’ does not name a type 4 | ll dp[63][2][2]; | ^~ Anna.code:5:1: error: ‘ll’ does not name a type 5 | ll v=0; | ^~ Anna.code:6:1: error: ‘ll’ does not name a type 6 | ll solve(int i,int j,int k){ | ^~ Anna.code: In function ‘void Anna(int, std::vector<char>)’: Anna.code:25:9: error: ‘last’ was not declared in this scope 25 | last=i+63; | ^~~~ Anna.code:26:9: error: ‘v’ was not declared in this scope 26 | v=0; | ^ Anna.code:30:16: error: ‘dp’ was not declared in this scope 30 | memset(dp,-1,sizeof(dp)); | ^~ Anna.code:31:9: error: ‘ll’ was not declared in this scope 31 | ll p=solve(0,0,0); | ^~ Anna.code:32:15: error: expected ‘;’ before ‘bit’ 32 | for(ll bit=0;bit<=43;bit++){ | ^~~~ | ; Anna.code:32:22: error: ‘bit’ was not declared in this scope 32 | for(ll bit=0;bit<=43;bit++){ | ^~~ Anna.code:33:27: error: ‘p’ was not declared in this scope 33 | if((1LL<<bit)&p)Send(1),p^=(1LL<<bit); | ^ In file included from /usr/include/c++/10/cassert:44, from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:33, from Anna.code:1: Anna.code:36:17: error: ‘p’ was not declared in this scope 36 | assert(!p); | ^