Problem factorial_ex
User th3manyax3s
Submission Time 2026-01-31 18:41:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

factorial_ex.cpp: In function ‘std::vector<int> multiplyInt(const std::vector<int>&, int)’:
factorial_ex.cpp:38:17: error: expected primary-expression at end of input
38 | int cur =
| ^
factorial_ex.cpp:38:17: error: expected ‘}’ at end of input
factorial_ex.cpp:37:21: note: to match this ‘{’
37 | for (int d : a) {
| ^
factorial_ex.cpp:38:17: error: expected ‘}’ at end of input
38 | int cur =
| ^
factorial_ex.cpp:34:54: note: to match this ‘{’
34 | vector<int> multiplyInt(const vector<int>& a, int b) {
| ^