| Problem | differencearray |
|---|---|
| User | dfsssssssssfsdfdssgdfs |
| Submission Time | 2026-01-19 15:59:05 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
differencearray.cpp: In function ‘int main()’:
differencearray.cpp:20:7: error: expected ‘;’ before ‘for’
20 | g=e-d
| ^
| ;
21 | for ( d < e; d++){
| ~~~
differencearray.cpp:21:18: error: expected ‘;’ before ‘)’ token
21 | for ( d < e; d++){
| ^
| ;
differencearray.cpp:24:7: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::vector<long long unsigned int>’)
24 | cout << number;
| ~~~~ ^~ ~~~~~~
| | |
| | std::vector<long long unsigned int>
| std::ostream {aka std::basic_ostream<char>}
In file included from /usr/include/c++/9/iostream:39,
from differencearray.cpp:1:
/usr/include/c++/9/ostream:108:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::