結果
問題 |
No.2784 繰り上がりなし十進和
|
ユーザー |
|
提出日時 | 2024-06-14 23:13:56 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 261 bytes |
コンパイル時間 | 554 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-14 23:13:59 |
合計ジャッジ時間 | 2,605 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 17 WA * 19 |
ソースコード
S = {input() for i in range(6)} res = 1 for i in range(6): T = {A[i] for A in S} if T == {'0'}: res *= 1 elif T <= {'0', '5'}: res *= 2 elif T <= {'0', '2', '4', '6', '8'}: res *= 5 else: res *= 10 print(res)