Problem palindromicfizzbuzz
User Evoi
Submission Time 2023-01-18 16:08:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

palindromicfizzbuzz.cpp: In function ‘int main()’:
palindromicfizzbuzz.cpp:10:25: error: expected ‘;’ before ‘}’ token
10 | cout << "Palindrome!"
| ^
| ;
11 | }else{
| ~
palindromicfizzbuzz.cpp:20:13: error: invalid types ‘int[int]’ for array subscript
20 | if (i[x] != i[0-x]) {
| ^
palindromicfizzbuzz.cpp:20:23: error: invalid types ‘int[int]’ for array subscript
20 | if (i[x] != i[0-x]) {
| ^
palindromicfizzbuzz.cpp:31:13: error: invalid types ‘int[int]’ for array subscript
31 | if (i[x] != i[0-x]) {
| ^
palindromicfizzbuzz.cpp:31:23: error: invalid types ‘int[int]’ for array subscript
31 | if (i[x] != i[0-x]) {
| ^