結果

問題 No.3010 Print inside /bin
ユーザー rpy3cpprpy3cpp
提出日時 2015-05-04 00:27:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 179 bytes
コンパイル時間 751 ms
コンパイル使用メモリ 10,460 KB
実行使用メモリ 9,512 KB
最終ジャッジ日時 2023-09-19 06:18:29
合計ジャッジ時間 1,281 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

from pathlib import Path

p = Path('/bin')
items = [str(x)[4:] for x in p.iterdir()]
items.sort()
for item in items:
    if item.startswith('.'):
        continue
    print(item)
0