結果
| 問題 | No.313 π |
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2024-10-25 22:55:12 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 242 bytes |
| 記録 | |
| コンパイル時間 | 369 ms |
| コンパイル使用メモリ | 84,856 KB |
| 実行使用メモリ | 73,616 KB |
| 最終ジャッジ日時 | 2026-05-05 21:55:58 |
| 合計ジャッジ時間 | 3,409 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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