Problem brick
User ilovepythonandhatecplusplus
Submission Time 2024-04-19 16:19:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:11:5: error: expected unqualified-id before ‘>’ token
11 | long> A(N);
| ^
brick.cpp:17:16: error: ‘A’ was not declared in this scope
17 | cin >> A[i];
| ^
brick.cpp:21:22: error: ‘A’ was not declared in this scope
21 | stroke.push_back(A[0]);
| ^
brick.cpp:53:12: error: a function-definition is not allowed here before ‘{’ token
53 | int main() {
| ^
brick.cpp:99:1: error: expected ‘}’ at end of input
99 | }
| ^
brick.cpp:5:12: note: to match this ‘{’
5 | int main() {
| ^