topic
Thought:
Pay attention to the data pre -processing of this time question,You can convert time to minutes,You can look at the notes in the code。Thought andylbThe consistency of the big man。
Pay attention to,In fact, use the order directlysortIt’s okay。
python: :=
Walrus operator,Can be assigned in judgment
Golang: SScanf
SscanfStringstrScanning text,according toformat The format specified by the parameter will save the values of the blank separation that is successfully read in the parameters that successfully passed to the function of this function。
Back to the number of entries for successful scanning and any error encountered。
Code:
1 | class Solution: |