| Problem | factorial_easy |
|---|---|
| User | thatgreyCat7777 |
| Submission Time | 2026-06-25 07:28:47 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
factorial_easy.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
1 | #include
| ^
factorial_easy.cpp: In function ‘int main()’:
factorial_easy.cpp:6:1: error: ‘cin’ was not declared in this scope
6 | cin >> n;
| ^~~
factorial_easy.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #include
factorial_easy.cpp:10:1: error: ‘cout’ was not declared in this scope
10 | cout << fact << '\n';
| ^~~~
factorial_easy.cpp:10:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?