Problem sumint
User wongethan8192
Submission Time 2023-02-10 15:34:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp:7:13: error: empty character constant
7 | string var='';
| ^~
sumint.cpp: In function ‘int main()’:
sumint.cpp:7:13: error: conversion from ‘char’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested