Problem tiles
User chenweilian
Submission Time 2023-12-04 18:16:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

tiles.cpp:64:11: error: ‘MAXN’ was not declared in this scope
64 | char G[3][MAXN];
| ^~~~
tiles.cpp:65:7: error: ‘MAXN’ was not declared in this scope
65 | int B[MAXN];
| ^~~~
tiles.cpp:66:7: error: ‘MAXN’ was not declared in this scope
66 | ll dp[MAXN][8];
| ^~~~
cc1plus: error: ‘::main’ must return ‘int’
tiles.cpp: In function ‘int main()’:
tiles.cpp:75:13: error: ‘G’ was not declared in this scope
75 | cin >> (G[0] + 1) >> (G[1] + 1) >> (G[2] + 1);
| ^
tiles.cpp:79:4: error: ‘assert’ was not declared in this scope
79 | assert(false);
| ^~~~~~
tiles.cpp:12:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
11 | #include <climits>
+++ |+#include <cassert>
12 | using namespace std;
tiles.cpp:80:5: error: ‘dp’ was not declared in this scope; did y