Problem | miracleflover |
---|---|
User | oolimry |
Submission Time | 2023-12-31 20:59:31 |
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:5:27: error: conversion from ‘const char [1]’ to non-scalar type ‘std::wstring’ {aka ‘std::__cxx11::basic_string<wchar_t>’} requested
5 | std::wstring answer = "";
| ^~
miracleflover.cpp:6:27: error: no match for ‘operator=’ (operand types are ‘std::wstring’ {aka ‘std::__cxx11::basic_string<wchar_t>’} and ‘const char [10]’)
6 | if (tc == 2) answer = "Kim Gaeul";
| ^~~~~~~~~~~
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,
f