Problem brick
User shaokai348
Submission Time 2025-03-15 22:46:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:15:25: error: ‘i’ was not declared in this scope
15 | for (int j = 0; j < a; i++) {
| ^
brick.cpp:16:29: error: no match for call to ‘(std::vector<int>) (int&)’
16 | bricks1.push_back(bricks(b));
| ^
brick.cpp:18:31: error: no match for call to ‘(std::vector<int>) (int)’
18 | if (bricks1.end()>bricks1(0)){
| ^