Problem | brick |
---|---|
User | spidermancoolboy |
Submission Time | 2024-02-02 13:20:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
brick.cpp: In function ‘int main()’:
brick.cpp:7:12: error: size ‘-8814407033341083648’ of array ‘lucas’ is negative
7 | int lucas[100000000000000000000000000000000];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
brick.cpp:13:10: error: request for member ‘insert’ in ‘lucas’, which is of non-class type ‘int [1]’
13 | lucas.insert(bricks[x]);
| ^~~~~~
brick.cpp:14:36: error: expected ‘)’ before ‘{’ token
14 | } else if (bricks[x]<=bricks[x-1]{
| ~ ^
| )
brick.cpp:21:15: error: ‘y’ was not declared in this scope
21 | for (int y=0;y<brick-1;y++){
| ^
brick.cpp:26:1: error: expected ‘}’ at end of input
26 | }
| ^
brick.cpp:3:12: note: to match this ‘{’
3 | int main (){
| ^