結果
問題 | No.313 π |
ユーザー |
![]() |
提出日時 | 2020-06-13 00:55:17 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 336 bytes |
コンパイル時間 | 243 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,264 KB |
最終ジャッジ日時 | 2024-06-24 06:14:13 |
合計ジャッジ時間 | 3,228 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 32 |
ソースコード
dic = { "3": 20011, ".": 1, "1": 20063, "4": 19874, "5": 20199, "9": 19841, "2": 19892, "6": 19898, "8": 19956, "7": 20163, "0": 20104, } S = input() a, b = 0, 0 for i in range(10): if S.count(str(i)) > dic[i]: a = i if S.count(str(i)) < dic[i]: b = i print(a, b)