Problem integer
User lucas
Submission Time 2026-08-18 21:29:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

integer.cpp: In function ‘void printInteger()’:
integer.cpp:1:27: error: ‘cout’ is not a member of ‘std’
1 | void printInteger(){ std::cout << 1 }
| ^~~~
integer.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | void printInteger(){ std::cout << 1 }