Problem palindromicfizzbuzz
User RandomCtfNoob
Submission Time 2025-03-03 15:42:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

palindromicfizzbuzz.cpp: In function ‘int main()’:
palindromicfizzbuzz.cpp:8:16: error: conversion from ‘int’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
8 | string val = i;
| ^
palindromicfizzbuzz.cpp:9:30: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘len’
9 | if (val == reverse(val,val.len())){
| ^~~