結果
| 問題 |
No.8021 データベースの練習
|
| コンテスト | |
| ユーザー |
koyumeishi
|
| 提出日時 | 2016-09-23 22:04:29 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 437 ms / 5,000 ms |
| コード長 | 313 bytes |
| コンパイル時間 | 450 ms |
| コンパイル使用メモリ | 63,056 KB |
| 実行使用メモリ | 25,984 KB |
| 平均クエリ数 | 540.42 |
| 最終ジャッジ日時 | 2025-02-07 08:48:33 |
| 合計ジャッジ時間 | 5,285 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
#include <iostream>
#include <vector>
using namespace std;
int main(){
int q;
cin >> q;
while(q--){
int a,b,c,d;
cin >> a >> b >> c >> d;
cout << "SELECT count(*) FROM point WHERE (x BETWEEN " << a
<<" and " << b << ") and (y BETWEEN " << c << " and " << d <<");" << endl;
}
return 0;
}
koyumeishi