Problem flamethrower
User o0oNotGXYo0o
Submission Time 2023-07-14 09:11:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:11:7: error: expected ‘;’ before ‘cin’
11 | e = 0
| ^
| ;
12 | cin >> a >> b;
| ~~~
flamethrower.cpp:15:11: error: expected ‘;’ before ‘g1’
15 | cin >> c
| ^
| ;
16 | g1.push_back(c);
| ~~
flamethrower.cpp:20:15: error: missing template arguments before ‘[’ token
20 | e += vector[a]
| ^
flamethrower.cpp:23:9: error: expected ‘;’ before ‘}’ token
23 | d = e
| ^
| ;
24 | }
| ~
flamethrower.cpp:26:11: error: expected ‘;’ before ‘}’ token
26 | cout << d
| ^
| ;
27 | }
| ~