Problem | helloworld |
---|---|
User | Teeskit |
Submission Time | 2025-08-10 12:09:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
helloworld.cpp:1:2: error: invalid preprocessing directive #includes; did you mean #include?
1 | #includes<bits/stdc++.h>
| ^~~~~~~~
| include
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:5:2: error: ‘ios_base’ has not been declared
5 | ios_base::sync_with_stdio(0); cin.tie(0);
| ^~~~~~~~
helloworld.cpp:5:32: error: ‘cin’ was not declared in this scope
5 | ios_base::sync_with_stdio(0); cin.tie(0);
| ^~~
helloworld.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #includes<bits/stdc++.h>
helloworld.cpp:6:2: error: ‘cout’ was not declared in this scope
6 | cout >> "Hello World";
| ^~~~
helloworld.cpp:6:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?