Problem breakfast
User tjy9
Submission Time 2026-07-27 11:12:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

breakfast.cpp:1:1: error: ‘::main’ must return ‘int’
1 | void main() {
| ^~~~
breakfast.cpp: In function ‘int main()’:
breakfast.cpp:2:7: error: ‘cout’ is not a member of ‘std’
2 | std::cout << "PARAMECIUM" << std::endl;
| ^~~~
breakfast.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | void main() {
breakfast.cpp:2:36: error: ‘endl’ is not a member of ‘std’
2 | std::cout << "PARAMECIUM" << std::endl;
| ^~~~
breakfast.cpp:1:1: note: ‘std::endl’ is defined in header ‘<ostream>’; did you forget to ‘#include <ostream>’?
+++ |+#include <ostream>
1 | void main() {