結果
問題 | No.744 循環小数N桁目 Easy |
ユーザー | reforefo2 |
提出日時 | 2020-05-07 15:35:24 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 220 bytes |
コンパイル時間 | 88 ms |
コンパイル使用メモリ | 10,596 KB |
実行使用メモリ | 7,996 KB |
最終ジャッジ日時 | 2023-09-16 07:53:37 |
合計ジャッジ時間 | 924 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | AC | 18 ms
7,788 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | AC | 15 ms
7,772 KB |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
ソースコード
n = int(input()) result = 0 if n%6 == 0: result = 4 elif n%6 == 1: result = 1 elif n%6 == 2: result = 7 elif n%6 == 3: result = 5 elif n%6 == 4: result = 8 elif n%6 == 5: result = 2 print(result)