C++ stringstream解分數加減Leetcode 592 Fraction Addition and Subtraction
------------
Is it difficult to program to add and subtract fractions? The calculation is easy, but processing strings is troublesome. It is easy to use stringstream.
[codes on Leetcode]https://leetcode.com/problems/fraction-addition-and-subtraction/solutions/5677011/convert-to-fractions-then-do-school-math-beats-100/
[從C++的IO談sstream用法與字串分割]https://www.youtube.com/watch?v=rMSGMal3ypo
沒有留言:
張貼留言