Problem reverseandmin
User Kiameimon
Submission Time 2024-01-09 16:56:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reverseandmin.cpp: In function ‘int main()’:
reverseandmin.cpp:18:8: error: request for member ‘back’ in ‘k’, which is of non-class type ‘long long int’
18 | if(k.back() == '0') inv = false;
| ^~~~