結果
| 問題 |
No.744 循環小数N桁目 Easy
|
| コンテスト | |
| ユーザー |
Reiss1859
|
| 提出日時 | 2018-10-22 17:51:53 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 29 ms / 2,000 ms |
| コード長 | 284 bytes |
| コンパイル時間 | 205 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-11-19 03:55:31 |
| 合計ジャッジ時間 | 969 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
number = '285714'
n = int(input())
Decision= n%6
if Decision==1:
print(number[0])
elif Decision==2:
print(number[1])
elif Decision==3:
print(number[2])
elif Decision==4:
print(number[3])
elif Decision==5:
print(number[4])
elif Decision==0:
print(number[5])
Reiss1859