結果
問題 |
No.313 π
|
ユーザー |
|
提出日時 | 2015-12-06 00:21:55 |
言語 | Python2 (2.7.18) |
結果 |
RE
|
実行時間 | - |
コード長 | 358 bytes |
コンパイル時間 | 395 ms |
コンパイル使用メモリ | 7,068 KB |
実行使用メモリ | 8,704 KB |
最終ジャッジ日時 | 2024-09-14 14:54:54 |
合計ジャッジ時間 | 2,455 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 32 |
ソースコード
# -*- coding: utf-8 -*- import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll ans = [20104, 20063, 19892, 20011, 19874, 20199, 19898, 20163, 19956, 19841] s = raw_input() cnt = [0]*10 for si in s: cnt[int(si)] += 1 for i in xrange(10): if ans[i] < cnt[i]: a = i if ans[i] > cnt[i]: b = i print a, b