QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#447921 | #5523. Graph Problem With Small $n$ | egypt_ioi2024_07 | Compile Error | / | / | C++23 | 2.6kb | 2024-06-19 01:17:39 | 2024-06-19 01:17:40 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:59:2: error: stray ‘#’ in program 59 | }#pragma GCC optimize("Ofast") | ^ answer.code:59:3: error: ‘pragma’ does not name a type; did you mean ‘_Pragma’? 59 | }#pragma GCC optimize("Ofast") | ^~~~~~ | _Pragma answer.code:71:11: error: conflicting declaration ‘const long long int N’ 71 | const int N=25, M=(1<<24)+1, MOD=1e9+7; | ^ answer.code:12:11: note: previous declaration as ‘const int N’ 12 | const int N=24, MOD=1e9+7, M=(1<<24); | ^ answer.code:71:17: error: conflicting declaration ‘const long long int M’ 71 | const int N=25, M=(1<<24)+1, MOD=1e9+7; | ^ answer.code:12:28: note: previous declaration as ‘const int M’ 12 | const int N=24, MOD=1e9+7, M=(1<<24); | ^ answer.code:71:30: error: conflicting declaration ‘const long long int MOD’ 71 | const int N=25, M=(1<<24)+1, MOD=1e9+7; | ^~~ answer.code:12:17: note: previous declaration as ‘const int MOD’ 12 | const int N=24, MOD=1e9+7, M=(1<<24); | ^~~ answer.code:73:6: error: redefinition of ‘char a [24][24]’ 73 | char a[N][N]; | ^ answer.code:14:6: note: ‘char a [24][24]’ previously declared here 14 | char a[N][N]; | ^ answer.code:74:5: error: conflicting declaration ‘long long int vis [16777216]’ 74 | int vis[M],ans[N][N]; | ^~~ answer.code:17:5: note: previous declaration as ‘int vis [16777216]’ 17 | int vis[M]; | ^~~ answer.code:74:12: error: conflicting declaration ‘long long int ans [24][24]’ 74 | int vis[M],ans[N][N]; | ^~~ answer.code:15:5: note: previous declaration as ‘int ans [24]’ 15 | int ans[N]; | ^~~ answer.code:76:9: error: redefinition of ‘int32_t main()’ 76 | int32_t main() | ^~~~ answer.code:30:9: note: ‘int32_t main()’ previously defined here 30 | int32_t main() | ^~~~ answer.code: In function ‘int32_t main()’: answer.code:93:31: error: invalid types ‘int[long long int]’ for array subscript 93 | ans[x][u]=1; | ^ answer.code:110:58: error: invalid types ‘int[long long int]’ for array subscript 110 | for(int i=0;i<n;i++){for(int j=0;j<n;j++)cout<<ans[i][j];cout<<'\n';} | ^