結果

問題 No.3021 データベースの練習
ユーザー tailstails
提出日時 2017-03-31 22:38:59
言語 Perl
(5.38.2)
結果
AC  
実行時間 411 ms / 5,000 ms
コード長 123 bytes
コンパイル時間 61 ms
コンパイル使用メモリ 5,332 KB
実行使用メモリ 24,396 KB
平均クエリ数 540.42
最終ジャッジ日時 2023-09-23 12:59:28
合計ジャッジ時間 4,085 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 100 ms
23,440 KB
testcase_01 AC 203 ms
23,436 KB
testcase_02 AC 274 ms
24,336 KB
testcase_03 AC 284 ms
24,072 KB
testcase_04 AC 266 ms
23,676 KB
testcase_05 AC 280 ms
24,036 KB
testcase_06 AC 122 ms
23,868 KB
testcase_07 AC 189 ms
23,544 KB
testcase_08 AC 271 ms
24,348 KB
testcase_09 AC 220 ms
23,568 KB
testcase_10 AC 192 ms
24,396 KB
testcase_11 AC 411 ms
24,048 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

$|=1;
for(1..<>){
	($a,$b,$c,$d)=glob<>;
	print "SELECT count(*) FROM point WHERE x>=$a AND x<=$b AND y>=$c AND y<=$d;\n"
}
0