Problem palindromicfizzbuzz
User limmingyao21
Submission Time 2024-03-12 13:02:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

palindromicfizzbuzz.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include bits/stdc++h>
| ^~~~
palindromicfizzbuzz.cpp: In function ‘int main()’:
palindromicfizzbuzz.cpp:16:5: error: ‘cin’ was not declared in this scope
16 | cin >> start >> end;
| ^~~
palindromicfizzbuzz.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #include bits/stdc++h>
palindromicfizzbuzz.cpp:20:13: error: ‘cout’ was not declared in this scope
20 | cout << "Palindrome!\n";
| ^~~~
palindromicfizzbuzz.cpp:20:13: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
palindromicfizzbuzz.cpp:22:13: error: ‘cout’ was not declared in this scope
22 | cout << i << '\n';
|