結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 117 ms
24,264 KB
testcase_01 AC 232 ms
23,568 KB
testcase_02 AC 306 ms
24,060 KB
testcase_03 AC 319 ms
23,816 KB
testcase_04 AC 298 ms
23,316 KB
testcase_05 AC 309 ms
23,488 KB
testcase_06 AC 146 ms
23,916 KB
testcase_07 AC 226 ms
23,916 KB
testcase_08 AC 313 ms
24,396 KB
testcase_09 AC 252 ms
23,460 KB
testcase_10 AC 214 ms
24,072 KB
testcase_11 AC 451 ms
23,736 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
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))
	sys.stdout.flush
0