結果
| 問題 |
No.2784 繰り上がりなし十進和
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-14 22:07:19 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 277 bytes |
| コンパイル時間 | 261 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-06-14 22:07:36 |
| 合計ジャッジ時間 | 2,220 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 19 |
ソースコード
import math
A = []
A.append(input())
A.append(input())
A.append(input())
A.append(input())
A.append(input())
A.append(input())
ans = 1
for i in range(6):
gcd = 10
for j in range(6):
a = int(A[j][i])
gcd = math.gcd(gcd, a)
ans *= 10 // gcd
print(ans)