Problem | helloworld |
---|---|
User | ryangohca |
Submission Time | 2025-07-26 20:33:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
helloworld.cpp: In function ‘int main(long int)’:
helloworld.cpp:3:25: error: ‘printf’ was not declared in this scope
3 | main (long lo)<% int x; printf("hello world");}
| ^~~~~~
helloworld.cpp:2:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
1 | #include <cstdlib>
+++ |+#include <cstdio>
2 | using namespace std;