Problem palindromicfizzbuzz
User squishychicken
Submission Time 2025-05-27 10:36:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

palindromicfizzbuzz.cpp:3:22: error: expected ‘)’ before ‘;’ token
3 | #define int long long;
| ^
palindromicfizzbuzz.cpp:5:19: note: in expansion of macro ‘int’
5 | bool isPalindrome(int n) {
| ^~~
palindromicfizzbuzz.cpp:5:18: note: to match this ‘(’
5 | bool isPalindrome(int n) {
| ^
palindromicfizzbuzz.cpp:5:23: error: ‘n’ does not name a type; did you mean ‘yn’?
5 | bool isPalindrome(int n) {
| ^
| yn
palindromicfizzbuzz.cpp: In function ‘int main()’:
palindromicfizzbuzz.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
palindromicfizzbuzz.cpp:17:5: note: in expansion of macro ‘int’
17 | int S;
| ^~~
palindromicfizzbuzz.cpp:17:9: error: ‘S’ was not declared in this scope
17 |