Problem urarareader
User Devthethala
Submission Time 2026-06-23 10:31:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

urarareader.cpp: In function ‘int main()’:
urarareader.cpp:11:15: error: no match for ‘operator/’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘int’)
11 | cout << a /n;
| ~ ^~
| | |
| | int
| std::string {aka std::__cxx11::basic_string<char>}
urarareader.cpp:14:17: error: no match for ‘operator/’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘int’)
14 | cout << b /n;
| ~ ^~
| | |
| | int
| std::string {aka std::__cxx11::basic_string<char>}