| Problem | helloworld |
|---|---|
| User | SirCTan |
| Submission Time | 2025-12-25 11:00:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
helloworld.cpp:2:20: error: expected ‘;’ before ‘int’
2 | using namespace std
| ^
| ;
3 |
4 | int main () {
| ~~~
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:5:23: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘std::istream’ {aka ‘std::basic_istream<char>’})
5 | cout << "Hello World" << cin;
| ~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~
| | |
| | std::istream {aka std::basic_istream<char>}
| std::basic_ostream<char>
helloworld.cpp:5:23: note: candidate: ‘operator<<(int, int)’ <built-in>
5 | cout << "Hello World" << cin;
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
helloworld.cpp:5:23: note: no known conversion for argument 2 from ‘std::istream’ {aka ‘std::basic_istream<char