結果
| 問題 | No.313 π |
| コンテスト | |
| ユーザー |
minami
|
| 提出日時 | 2019-03-26 15:59:51 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 42 ms / 5,000 ms |
| + 689µs | |
| コード長 | 257 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 11,520 KB |
| 最終ジャッジ日時 | 2026-09-13 15:35:34 |
| 合計ジャッジ時間 | 3,038 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 32 |
ソースコード
S = input()
cnt = {'3': 20011, '.': 1, '1': 20063, '4': 19874, '5': 20199,
'9': 19841, '2': 19892, '6': 19898, '8': 19956, '7': 20163, '0': 20104}
for c in S:
cnt[c] -= 1
cnt = sorted(cnt.items(), key=lambda x: x[1])
print(cnt[0][0], cnt[-1][0])
minami