結果

問題 No.3021 データベースの練習
ユーザー ixmelixmel
提出日時 2017-04-01 00:01:47
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 448 ms / 5,000 ms
コード長 159 bytes
コンパイル時間 760 ms
コンパイル使用メモリ 10,640 KB
実行使用メモリ 24,300 KB
平均クエリ数 540.42
最終ジャッジ日時 2023-09-23 13:05:30
合計ジャッジ時間 4,516 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
24,216 KB
testcase_01 AC 234 ms
24,252 KB
testcase_02 AC 305 ms
24,000 KB
testcase_03 AC 317 ms
23,928 KB
testcase_04 AC 301 ms
23,508 KB
testcase_05 AC 310 ms
24,288 KB
testcase_06 AC 143 ms
23,544 KB
testcase_07 AC 219 ms
24,192 KB
testcase_08 AC 303 ms
23,308 KB
testcase_09 AC 244 ms
23,520 KB
testcase_10 AC 212 ms
24,288 KB
testcase_11 AC 448 ms
24,300 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
for i in range(n):
	a,b,c,d=map(int,input().split())
	print("SELECT count(*) FROM point WHERE %d<=x AND x<=%d AND %d<=y AND y<=%d;" % (a,b,c,d))
0