結果

問題 No.3021 データベースの練習
ユーザー しらっ亭しらっ亭
提出日時 2018-03-21 03:13:47
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 444 ms / 5,000 ms
コード長 174 bytes
コンパイル時間 134 ms
コンパイル使用メモリ 10,684 KB
実行使用メモリ 24,288 KB
平均クエリ数 540.42
最終ジャッジ日時 2023-09-23 16:02:48
合計ジャッジ時間 4,721 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
24,288 KB
testcase_01 AC 246 ms
24,072 KB
testcase_02 AC 317 ms
23,664 KB
testcase_03 AC 335 ms
23,592 KB
testcase_04 AC 316 ms
24,228 KB
testcase_05 AC 322 ms
23,600 KB
testcase_06 AC 150 ms
24,060 KB
testcase_07 AC 229 ms
23,476 KB
testcase_08 AC 323 ms
24,060 KB
testcase_09 AC 259 ms
23,700 KB
testcase_10 AC 227 ms
24,000 KB
testcase_11 AC 444 ms
23,880 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

for _ in range(int(input())):
	l, r, t, b = map(int,input().split())
	print(f'SELECT count(1) FROM point WHERE x BETWEEN {l} AND {r} AND y BETWEEN {t} AND {b};', flush=True)
0