难度不大,主要部分是 实现常数部分与x系数的分解。 分解后分类讨论返回结果即可 class Solution { int parseInt(String s) { if(s.endsWith("x")){ if(s.length()...
reter
昨天
2
0