Problem | palindromicfizzbuzz |
---|---|
User | Suki |
Submission Time | 2024-01-24 09:39:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
palindromicfizzbuzz.cpp: In function ‘int main()’:
palindromicfizzbuzz.cpp:14:2: error: ‘cin’ was not declared in this scope
14 | cin >> S;
| ^~~
palindromicfizzbuzz.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
palindromicfizzbuzz.cpp:18:4: error: ‘cout’ was not declared in this scope
18 | cout << "Palindrome!" << endl;
| ^~~~
palindromicfizzbuzz.cpp:18:4: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
palindromicfizzbuzz.cpp:18:29: error: ‘endl’ was not declared in this scope
18 | cout << "Palindrome!" << endl;
| ^~~~
palindromicfizzbuzz.cpp:1:1: note: ‘std::endl’ is defined in header ‘<ostream>’; did you forget to ‘#include <ostream>’?
+++ |+#i