結果

問題 No.3021 データベースの練習
ユーザー TakoKurageTakoKurage
提出日時 2020-10-11 15:13:21
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 382 ms / 5,000 ms
コード長 175 bytes
コンパイル時間 236 ms
コンパイル使用メモリ 10,436 KB
実行使用メモリ 24,420 KB
平均クエリ数 540.42
最終ジャッジ日時 2023-09-24 06:45:15
合計ジャッジ時間 5,193 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 137 ms
24,360 KB
testcase_01 AC 245 ms
24,420 KB
testcase_02 AC 281 ms
23,496 KB
testcase_03 AC 298 ms
24,372 KB
testcase_04 AC 264 ms
24,024 KB
testcase_05 AC 260 ms
23,448 KB
testcase_06 AC 127 ms
23,796 KB
testcase_07 AC 201 ms
24,228 KB
testcase_08 AC 259 ms
23,976 KB
testcase_09 AC 204 ms
23,628 KB
testcase_10 AC 189 ms
23,672 KB
testcase_11 AC 382 ms
23,460 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

Q = int(input())

for _ in range(Q):
    a, b, c, d = map(int, input().split())
    print(f"SELECT count(*) FROM point WHERE {a} <= x AND x <= {b} AND {c} <= y AND y <= {d};")
0