結果
| 問題 | No.313 π |
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2024-10-25 22:55:12 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 242 bytes |
| コンパイル時間 | 418 ms |
| コンパイル使用メモリ | 82,460 KB |
| 実行使用メモリ | 73,820 KB |
| 最終ジャッジ日時 | 2024-10-25 22:55:16 |
| 合計ジャッジ時間 | 4,145 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 32 |
ソースコード
A = [20104,20063,19892,20011,19874,20199,19898,20163,19956,19841]
B = [0] * 10
S = input()
for s in S:
if s != ".":
B[int(s)] += 1
for i in range(10):
if A[i] > B[i]:
x = i
if A[i] < B[i]:
y = i
print(x,y)
ntuda