Problem 3nplus1
User probird69
Submission Time 2023-06-01 20:33:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:5:13: error: conversion from ‘int’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
5 | string s = i;
| ^
3nplus1.cpp:14:2: error: expected ‘}’ at end of input
14 | }
| ^
3nplus1.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^