Problem guessproblem
User f0restf1re
Submission Time 2023-03-18 22:07:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guessproblem.cpp: In function ‘int main()’:
guessproblem.cpp:5:18: error: conversion from ‘int’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
5 | string arr[11]={'helloworld','e','e','e','e','e','e','e','e','3dhistogram','pancake'};
| ^~~~~~~~~~~~
guessproblem.cpp:5:31: error: conversion from ‘char’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
5 | string arr[11]={'helloworld','e','e','e','e','e','e','e','e','3dhistogram','pancake'};
| ^~~
guessproblem.cpp:5:35: error: conversion from ‘char’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
5 | string arr[11]={'helloworld','e','e','e','e','e','e','e','e','3dhistogram','pancake'};
| ^~~
guessproblem.cpp:5:39: error: conversion from ‘char’ to non-scalar type ‘std::string