結果

問題 No.744 循環小数N桁目 Easy
ユーザー Liny52551272Liny52551272
提出日時 2019-11-12 20:57:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 128 bytes
コンパイル時間 149 ms
コンパイル使用メモリ 11,864 KB
実行使用メモリ 10,420 KB
最終ジャッジ日時 2023-10-19 12:56:23
合計ジャッジ時間 4,177 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,072 KB
testcase_01 AC 27 ms
10,036 KB
testcase_02 AC 28 ms
10,072 KB
testcase_03 AC 27 ms
10,036 KB
testcase_04 AC 295 ms
10,420 KB
testcase_05 AC 28 ms
10,036 KB
testcase_06 TLE -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input().strip())

a = '0'
txt = '285714'

while True:
  if len(a) > N:
    break
  
  a += txt

print(a[N])
0