No.8111 April Fool 2024 in Pi
問題文最終更新日: 2024-03-24 15:00:01
English (AI translation)
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence.
Back to the original
yukicoder April Fool Contest 2024
(順位表)
の他の問題:
Problem Statement
Find the digit position after the decimal point of pi at which $20240401$ appears. Here, $1415$ is considered to appear at the $1$st digit after the decimal point of pi.
If $20240401$ does not appear after the decimal point of pi, output -1.
Input
No input is given.
Output
Output on one line the digit position after the decimal point of pi at which $20240401$ appears. If $20240401$ does not appear after the decimal point of pi, output -1. Print a newline at the end.
Sample
There are no samples.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。