結果
問題 | No.3021 データベースの練習 |
ユーザー | はむ吉🐹 |
提出日時 | 2017-03-31 23:11:34 |
言語 | Python3 (3.11.6 + numpy 1.26.0 + scipy 1.11.3) |
結果 |
AC
|
実行時間 | 433 ms / 5,000 ms |
コード長 | 231 bytes |
コンパイル時間 | 483 ms |
コンパイル使用メモリ | 10,672 KB |
実行使用メモリ | 24,348 KB |
平均クエリ数 | 540.42 |
最終ジャッジ日時 | 2023-09-23 13:02:22 |
合計ジャッジ時間 | 4,653 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 114 ms
23,412 KB |
testcase_01 | AC | 224 ms
24,348 KB |
testcase_02 | AC | 292 ms
23,756 KB |
testcase_03 | AC | 309 ms
24,060 KB |
testcase_04 | AC | 289 ms
23,564 KB |
testcase_05 | AC | 297 ms
23,676 KB |
testcase_06 | AC | 135 ms
23,468 KB |
testcase_07 | AC | 209 ms
23,716 KB |
testcase_08 | AC | 298 ms
23,856 KB |
testcase_09 | AC | 235 ms
23,664 KB |
testcase_10 | AC | 203 ms
24,060 KB |
testcase_11 | AC | 433 ms
23,752 KB |
ソースコード
import sys n = int(input()) for _ in range(n): xl, xh, yl, yh = (int(z) for z in input().split()) print("SELECT count(*) FROM point WHERE x>={} AND x<={} AND y>={} AND y<={};".format(xl, xh, yl, yh)) sys.stdout.flush()