結果
問題 | No.744 循環小数N桁目 Easy |
ユーザー | surprise_tanaka |
提出日時 | 2018-11-19 15:46:37 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 194 bytes |
コンパイル時間 | 159 ms |
コンパイル使用メモリ | 10,640 KB |
実行使用メモリ | 7,940 KB |
最終ジャッジ日時 | 2023-08-26 02:05:44 |
合計ジャッジ時間 | 997 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 16 ms
7,932 KB |
testcase_01 | AC | 15 ms
7,900 KB |
testcase_02 | AC | 16 ms
7,792 KB |
testcase_03 | AC | 16 ms
7,852 KB |
testcase_04 | WA | - |
testcase_05 | AC | 16 ms
7,800 KB |
testcase_06 | AC | 16 ms
7,880 KB |
testcase_07 | WA | - |
testcase_08 | AC | 15 ms
7,940 KB |
testcase_09 | AC | 16 ms
7,824 KB |
ソースコード
N = int(input()) if N % 6 == 0: print(4) elif N % 6 == 1: print(2) elif N % 6 == 2: print(8) elif N % 6 == 3: print(5) elif N % 6 == 4: print(7) elif N % 7 == 5: print(1)