結果

問題 No.313 π
ユーザー parukiparuki
提出日時 2016-04-20 08:57:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 49 ms / 5,000 ms
コード長 222 bytes
コンパイル時間 408 ms
コンパイル使用メモリ 82,580 KB
実行使用メモリ 73,728 KB
最終ジャッジ日時 2024-04-15 03:50:14
合計ジャッジ時間 2,973 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 46 ms
73,728 KB
testcase_01 AC 46 ms
72,460 KB
testcase_02 AC 47 ms
72,024 KB
testcase_03 AC 46 ms
71,920 KB
testcase_04 AC 49 ms
72,808 KB
testcase_05 AC 45 ms
71,892 KB
testcase_06 AC 47 ms
72,468 KB
testcase_07 AC 47 ms
73,236 KB
testcase_08 AC 47 ms
72,544 KB
testcase_09 AC 47 ms
71,988 KB
testcase_10 AC 46 ms
72,052 KB
testcase_11 AC 46 ms
71,664 KB
testcase_12 AC 47 ms
72,472 KB
testcase_13 AC 46 ms
73,360 KB
testcase_14 AC 46 ms
72,264 KB
testcase_15 AC 46 ms
72,452 KB
testcase_16 AC 45 ms
71,912 KB
testcase_17 AC 45 ms
71,684 KB
testcase_18 AC 47 ms
72,348 KB
testcase_19 AC 45 ms
72,600 KB
testcase_20 AC 45 ms
73,104 KB
testcase_21 AC 45 ms
72,324 KB
testcase_22 AC 46 ms
72,588 KB
testcase_23 AC 46 ms
72,428 KB
testcase_24 AC 46 ms
72,464 KB
testcase_25 AC 48 ms
72,948 KB
testcase_26 AC 46 ms
73,080 KB
testcase_27 AC 46 ms
72,992 KB
testcase_28 AC 47 ms
72,828 KB
testcase_29 AC 46 ms
72,656 KB
testcase_30 AC 47 ms
72,460 KB
testcase_31 AC 46 ms
72,904 KB
testcase_32 AC 46 ms
72,240 KB
testcase_33 AC 45 ms
71,500 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A=(20104,20063,19892,20011,19874,20199,19898,20163,19956,19841)
cnt=[0 for i in range(10)]
for c in input():
	if c!=".":
		cnt[int(c)]+=1
x,y=0,0
for i in range(10):
	if cnt[i]>A[i]:
		x=i
	if A[i]>cnt[i]:
		y=i
print(x,y)
0