結果
問題 | No.8021 データベースの練習 |
ユーザー |
|
提出日時 | 2017-03-31 23:11:26 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 468 ms / 5,000 ms |
コード長 | 239 bytes |
コンパイル時間 | 221 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 25,244 KB |
平均クエリ数 | 540.42 |
最終ジャッジ日時 | 2024-07-16 12:39:14 |
合計ジャッジ時間 | 4,563 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 |
ソースコード
import sysq = 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()