Problem typo
User Biologyhater123
Submission Time 2025-06-12 15:08:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typo.cpp:31:30: error: missing terminating ' character
31 | cout << "Yes"'
| ^
typo.cpp: In function ‘int main()’:
typo.cpp:29:22: error: cannot convert ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type’ {aka ‘char’} in assignment
29 | y[a+1] = t;
| ^
| |
| std::string {aka std::__cxx11::basic_string<char>}
typo.cpp:31:30: error: expected ‘;’ before ‘}’ token
31 | cout << "Yes"'
| ^
| ;
32 | }
| ~