Problem | illuminate |
---|---|
User | limmingyao21 |
Submission Time | 2024-03-07 17:06:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
illuminate.cpp: In function ‘int main()’:
illuminate.cpp:12:16: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp, class _Alloc> class std::vector’
12 | vector<bitset> grid(n);
| ^
illuminate.cpp:12:16: note: expected a type, got ‘bitset’
illuminate.cpp:12:16: error: template argument 2 is invalid
illuminate.cpp:17:13: error: invalid types ‘int[ll {aka long long int}]’ for array subscript
17 | grid[i].set(j, row[j] == '#');
| ^
illuminate.cpp:27:17: error: invalid types ‘int[ll {aka long long int}]’ for array subscript
27 | if (grid[i][j]) {
| ^
illuminate.cpp:44:17: error: invalid types ‘int[ll {aka long long int}]’ for array subscript
44 | if (grid[i][j]) {
| ^