Skip to content
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

Position in Fraction #425

Open
rohitkumar9710 opened this issue Oct 12, 2021 · 4 comments
Open

Position in Fraction #425

rohitkumar9710 opened this issue Oct 12, 2021 · 4 comments
Assignees
Labels
hacktoberfest Under Hacktoberfest 2021 Level 2 20 Points Online Question belongs to online platforms

Comments

@rohitkumar9710
Copy link
Contributor

Enter your question -

You have a fraction a/b . You need to find the first occurrence of digit c into decimal notation of the fraction after decimal point. Digits in decimal part are 1 - indexed.

Test case 1:
Input: 4 7 2
Output: 5
Explanation: Since, 4/7 = 0.5714285. . . . . . the digit 2 appeared at index 5 in the decimal part.

Enter link to the question(if question belongs to any online platform) -

https://codeforces.com/contest/900/problem/B

Tags for the question(eg - Array, Basic, Stack, etc.) -

maths, number theory, rating: 1300

@PrashantSrivastava33
Copy link
Contributor

@SarthakKeshari please assign me this question

@rohitkumar9710
Copy link
Contributor Author

@PrashantSrivastava33 this issue was not created by the owner. @SarthakKeshari assign this to me in C++.

@SarthakKeshari
Copy link
Owner

SarthakKeshari commented Oct 12, 2021

@rohitkumar9710,
As per the contribution guidlines issues can be claimed by anyone and can be created by anyone. Kindly go through CONTRIBUTING.md for futher details.

@SarthakKeshari
Copy link
Owner

@PrashantSrivastava33,
Kindly add your solution to "codeforces" folder.
Deadline - 13/10/2021

@SarthakKeshari SarthakKeshari added hacktoberfest Under Hacktoberfest 2021 Level 2 20 Points Online Question belongs to online platforms labels Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Under Hacktoberfest 2021 Level 2 20 Points Online Question belongs to online platforms
Projects
None yet
Development

No branches or pull requests

3 participants