Problem | miracleflover |
---|---|
User | kahchun |
Submission Time | 2024-01-01 15:22:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
miracleflover.cpp: In function ‘std::wstring solve(int, int)’:
miracleflover.cpp:6:14: error: conversion from ‘const char [1]’ to non-scalar type ‘std::wstring’ {aka ‘std::__cxx11::basic_string<wchar_t>’} requested
6 | wstring s = "";
| ^~
miracleflover.cpp:9:19: error: no match for ‘operator=’ (operand types are ‘std::wstring’ {aka ‘std::__cxx11::basic_string<wchar_t>’} and ‘const char [22]’)
9 | if (T == 0) s = "Lionel Andr´es Messi";
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c+