Problem | uniquenumbers |
---|---|
User | Elnathan |
Submission Time | 2024-02-12 16:00:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:14:59: error: conversion from ‘int’ to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
14 | std::string s = std::to_string(cnt), out = char(s[0]) + char(s[1]);
| ~~~~~~~~~~~^~~~~~~~~~~~