Problem fibo
User bachnguyen123
Submission Time 2025-12-14 01:37:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fibo.cpp:10:14: error: missing terminating " character
10 | cout<<val<<"\n;
| ^~~~
fibo.cpp: In function ‘int main()’:
fibo.cpp:11:7: error: no match for ‘operator+=’ (operand types are ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} and ‘int’)
10 | cout<<val<<"\n;
| ~~~~~~~~~~~~~~~
11 | val += i;
| ~~~~^~~~