結果

問題 No.744 循環小数N桁目 Easy
ユーザー MaboyMaboy
提出日時 2021-06-17 17:53:45
言語 Swift
(5.10.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 57 bytes
コンパイル時間 9,894 ms
コンパイル使用メモリ 121,184 KB
実行使用メモリ 7,432 KB
最終ジャッジ日時 2023-08-31 01:18:49
合計ジャッジ時間 3,852 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
7,024 KB
testcase_01 AC 3 ms
7,072 KB
testcase_02 AC 3 ms
7,072 KB
testcase_03 AC 3 ms
7,288 KB
testcase_04 AC 3 ms
7,024 KB
testcase_05 AC 3 ms
7,388 KB
testcase_06 AC 3 ms
7,396 KB
testcase_07 AC 3 ms
7,432 KB
testcase_08 AC 3 ms
7,144 KB
testcase_09 AC 3 ms
7,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

let N = Int(readLine()!)!
print(Array("4285714")[N % 6])
0