字符串裏的數字相加減

example:java    「1+11+345-123+444-3-3+4」     or   「-1+3-5-2+3「code public int getResult(String s) throws Exception { int sum = 0; boolean flage = true; for (int i = 0; i < s.le
相關文章
相關標籤/搜索