1.题目要求:
2.题目代码:
csharp
class Solution {
public:
string removeTrailingZeros(string num) {
while(num[num.size() - 1] == '0'){
num.pop_back();
}
return num;
}
};