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

Compile Error

palindromicfizzbuzz.cpp: In function ‘int main()’:
palindromicfizzbuzz.cpp:22:17: error: conversion from ‘char’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
22 | string gt = word;
| ^~~~
palindromicfizzbuzz.cpp:28:13: error: invalid types ‘int[int]’ for array subscript
28 | if (i[x] != i[0-x]) {
| ^
palindromicfizzbuzz.cpp:28:23: error: invalid types ‘int[int]’ for array subscript
28 | if (i[x] != i[0-x]) {
| ^
palindromicfizzbuzz.cpp:39:13: error: invalid types ‘int[int]’ for array subscript
39 | if (i[x] != i[0-x]) {
| ^
palindromicfizzbuzz.cpp:39:23: error: invalid types ‘int[int]’ for array subscript
39 | if (i[x] != i[0-x]) {
| ^