Problem | abcs |
---|---|
User | Xiaoyang |
Submission Time | 2024-08-05 21:48:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
abcs.cpp: In function ‘int main()’:
abcs.cpp:34:11: error: conversion from ‘char’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
34 | string s='a';
| ^~~
abcs.cpp:39:7: error: ‘a’ was not declared in this scope
39 | s+=a;
| ^