Problem eight
User SkibidiScam123
Submission Time 2025-01-27 17:07:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eight.cpp: In function ‘int main()’:
eight.cpp:4:3: error: ‘N’ was not declared in this scope
4 | N = 1;
| ^
eight.cpp:7:13: error: no match for ‘operator>>’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘int’)
7 | std::cout >> 8, 28, 38, 48, 58, 68;
| ~~~~~~~~~ ^~ ~
| | |
| | int
| std::ostream {aka std::basic_ostream<char>}
eight.cpp:7:13: note: candidate: ‘operator>>(int, int)’ <built-in>
7 | std::cout >> 8, 28, 38, 48, 58, 68;
| ~~~~~~~~~~^~~~
eight.cpp:7:13: note: no known conversion for argument 1 from ‘std::ostream’ {aka ‘std::basic_ostream<char>’} to ‘int’
In file included from /usr/include/c++/9/string:56,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/inc