結果
| 問題 | No.313 π |
| コンテスト | |
| ユーザー |
minami
|
| 提出日時 | 2019-03-26 15:54:28 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 243 bytes |
| 記録 | |
| コンパイル時間 | 530 ms |
| コンパイル使用メモリ | 20,704 KB |
| 実行使用メモリ | 20,944 KB |
| 最終ジャッジ日時 | 2026-04-27 07:13:41 |
| 合計ジャッジ時間 | 12,211 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 32 |
ソースコード
S = input()
cnt = {'1': 20069, '4': 19880, '5': 20203, '9': 19846, '2': 19902,
'6': 19911, '3': 20016, '8': 19964, '7': 20166, '0': 20111}
for c in S:
cnt[c] -= 1
cnt = sorted(cnt.items(), key=lambda x: x[1])
print(cnt[-1], cnt[0])
minami