結果
| 問題 | No.8021 データベースの練習 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-03-31 23:11:26 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 341 ms / 5,000 ms |
| + 4µs | |
| コード長 | 239 bytes |
| 記録 | |
| コンパイル時間 | 56 ms |
| コンパイル使用メモリ | 80,936 KB |
| 実行使用メモリ | 83,640 KB |
| 平均クエリ数 | 540.42 |
| 最終ジャッジ日時 | 2026-07-18 12:35:40 |
| 合計ジャッジ時間 | 5,849 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
import sys
q = int(raw_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()