結果
| 問題 | No.313 π |
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2024-10-25 22:56:34 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 56 ms / 5,000 ms |
| コード長 | 242 bytes |
| コンパイル時間 | 268 ms |
| コンパイル使用メモリ | 82,104 KB |
| 実行使用メモリ | 73,060 KB |
| 最終ジャッジ日時 | 2024-10-25 22:56:43 |
| 合計ジャッジ時間 | 3,636 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 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