-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add multiply.rs
#716
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #716 +/- ##
=======================================
Coverage 94.95% 94.96%
=======================================
Files 302 303 +1
Lines 22527 22563 +36
=======================================
+ Hits 21390 21426 +36
Misses 1137 1137 ☔ View full report in Codecov by Sentry. |
This clippy error should be a machine issue? |
I think these errors are related to the recent update of the clippy. I will make a suitable fix in the evening. |
ok |
When you will update/rebase your branch, the CI should pass. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
multiply("03", "2")
returns "06"
.
multiply2: ("03", "2", "06") |
I would suggest to exclude inputs like |
I'll add a string formatting judgment |
Given two non-negative integers num1 and num2 expressed as strings, returns the product of num1 and num2, which is also expressed as a string.
Note: You cannot use any of the built-in BigInteger libraries or directly convert the input to an integer.