Problem sixandseven
User chlq3x
Submission Time 2026-06-26 15:05:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sixandseven.cpp: In function ‘int main()’:
sixandseven.cpp:8:16: error: conversion from ‘int’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
8 | string a = 6;
| ^
sixandseven.cpp:9:16: error: conversion from ‘int’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
9 | string b = 7;
| ^
sixandseven.cpp:10:12: error: expected unqualified-id before numeric constant
10 | string 67 = a + b;
| ^~