Problem brick
User howdoicode
Submission Time 2025-02-12 16:05:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:12:6: error: expected unqualified-id before ‘=’ token
12 | int = c[]
| ^
brick.cpp:14:21: error: ‘i’ was not declared in this scope
14 | for (int i = 0; i < nuo; i++) {
| ^
brick.cpp:23:23: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator<’
23 | for (int i = 0; i < size; i++) {
| ~~^~~~~~
brick.cpp:24:22: error: ‘c’ was not declared in this scope
24 | std::cout << c[i] << std::endl;
| ^
brick.cpp:27:11: error: ‘suo’ was not declared in this scope; did you mean ‘sumo’?
27 | cout << suo;
| ^~~
| sumo