結果

問題 No.3021 データベースの練習
ユーザー nebukuro09nebukuro09
提出日時 2017-04-01 00:28:27
言語 Python2
(2.7.18)
結果
AC  
実行時間 432 ms / 5,000 ms
コード長 218 bytes
コンパイル時間 202 ms
コンパイル使用メモリ 6,696 KB
実行使用メモリ 24,408 KB
平均クエリ数 540.42
最終ジャッジ日時 2023-09-23 13:06:59
合計ジャッジ時間 4,652 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 106 ms
23,508 KB
testcase_01 AC 218 ms
23,616 KB
testcase_02 AC 289 ms
24,012 KB
testcase_03 AC 299 ms
24,384 KB
testcase_04 AC 283 ms
24,408 KB
testcase_05 AC 290 ms
24,072 KB
testcase_06 AC 140 ms
23,388 KB
testcase_07 AC 215 ms
24,012 KB
testcase_08 AC 306 ms
23,616 KB
testcase_09 AC 235 ms
24,012 KB
testcase_10 AC 207 ms
24,324 KB
testcase_11 AC 432 ms
23,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys


q = input()
for i in xrange(q):
    x1, x2, y1, y2 = map(int, raw_input().split())
    print "SELECT count(*) FROM point WHERE x>=%d AND x<=%d AND y>=%d AND y<=%d;"%(x1, x2, y1, y2)
    sys.stdout.flush()
0