Problem 3nplus1II
User ForsakenPBJ
Submission Time 2025-01-25 15:02:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1II.cpp: In function ‘int main()’:
3nplus1II.cpp:20:16: error: ‘class std::vector<int>’ has no member named ‘length’
20 | length = nums.length()
| ^~~~~~
3nplus1II.cpp:25:2: error: ‘else’ without a previous ‘if’
25 | else{
| ^~~~