Problem | 3nplus1 |
---|---|
User | PyAce |
Submission Time | 2025-06-18 15:41:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:10:3: error: ‘cin’ was not declared in this scope
10 | cin >> Input;
| ^~~
3nplus1.cpp:2:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <stdio.h>
+++ |+#include <iostream>
2 | #define int long long
3nplus1.cpp:13:7: error: ‘cout’ was not declared in this scope
13 | cout << CurrentResult << "\n";
| ^~~~
3nplus1.cpp:13:7: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?