結果
| 問題 | No.2784 繰り上がりなし十進和 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-14 22:07:19 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 277 bytes |
| 記録 | |
| コンパイル時間 | 284 ms |
| コンパイル使用メモリ | 21,664 KB |
| 実行使用メモリ | 16,124 KB |
| 最終ジャッジ日時 | 2026-07-26 12:16:52 |
| 合計ジャッジ時間 | 5,536 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)