結果

問題 No.5 数字のブロック
コンテスト
ユーザー gim
提出日時 2017-06-15 17:51:35
言語 PyPy2
(7.3.20)
コンパイル:
pypy2 -m py_compile _filename_
実行:
/usr/bin/pypy2 Main.pyc
結果
RE  
実行時間 -
コード長 229 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 65 ms
コンパイル使用メモリ 80,896 KB
実行使用メモリ 81,536 KB
最終ジャッジ日時 2026-07-18 14:44:34
合計ジャッジ時間 4,172 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 34
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

n=raw_input()
L=map(int, n.split())
print int(L[0]*(L[1]/100.0) + L[0])



L=raw_input()
N=raw_input()
w=raw_input()
W=map(int, w.split())
c=0
mx=0
W.sort()
for a in W:
    c+=a
    if c<=int(L):
        mx+=1

print mx
        
0