結果

問題 No.8010 Print inside /bin
コンテスト
ユーザー 古寺いろは
提出日時 2015-05-03 23:46:00
言語 PHP
(8.5.4)
コンパイル:
php -l _filename_
実行:
php _filename_
結果
RE  
実行時間 -
コード長 183 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 222 ms
コンパイル使用メモリ 37,880 KB
実行使用メモリ 37,868 KB
最終ジャッジ日時 2026-03-27 02:48:23
合計ジャッジ時間 611 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 1
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #
raw source code

<?php
$res_dir = opendir( './dir/' );
while( $file_name = readdir( $res_dir ) ){
	if($file_name != '.' and $file_name != '..'){
		print "{$file_name}\n";
	}
}
closedir( $res_dir );
?>
0