結果
問題 | No.933 おまわりさんこいつです |
ユーザー | 💕💖💞 |
提出日時 | 2019-12-25 23:11:09 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 227 bytes |
コンパイル時間 | 416 ms |
コンパイル使用メモリ | 11,776 KB |
実行使用メモリ | 23,592 KB |
最終ジャッジ日時 | 2024-04-08 17:20:41 |
合計ジャッジ時間 | 2,541 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 32 ms
9,984 KB |
testcase_01 | AC | 32 ms
9,984 KB |
testcase_02 | WA | - |
testcase_03 | AC | 31 ms
9,984 KB |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | AC | 64 ms
18,956 KB |
testcase_18 | AC | 32 ms
9,984 KB |
testcase_19 | AC | 76 ms
21,552 KB |
testcase_20 | RE | - |
testcase_21 | AC | 31 ms
9,984 KB |
testcase_22 | AC | 32 ms
9,984 KB |
testcase_23 | WA | - |
testcase_24 | WA | - |
ソースコード
N=int(input()) xs=list(map(int,input().split())) a=1 for x in xs: a*= (x%9) #数字根の性質で Nの数字根 = N%9の数字根 a = str(a) while len(a)>1: a = sum([int(a0) for a0 in list(a)]) a = str(a) print(a)