結果

問題 No.3021 データベースの練習
ユーザー autumn-eelautumn-eel
提出日時 2017-03-31 23:20:18
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 478 ms / 5,000 ms
コード長 322 bytes
コンパイル時間 1,479 ms
コンパイル使用メモリ 163,244 KB
実行使用メモリ 24,372 KB
平均クエリ数 540.42
最終ジャッジ日時 2023-09-23 13:02:46
合計ジャッジ時間 5,707 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 103 ms
23,664 KB
testcase_01 AC 226 ms
24,348 KB
testcase_02 AC 295 ms
24,372 KB
testcase_03 AC 316 ms
23,400 KB
testcase_04 AC 297 ms
23,424 KB
testcase_05 AC 329 ms
23,556 KB
testcase_06 AC 130 ms
23,388 KB
testcase_07 AC 218 ms
24,048 KB
testcase_08 AC 295 ms
24,048 KB
testcase_09 AC 244 ms
23,544 KB
testcase_10 AC 209 ms
23,436 KB
testcase_11 AC 478 ms
23,436 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
#define rep(i,n)for(int i=0;i<(n);i++)
using namespace std;

int main() {
	int q; scanf("%d", &q);
	rep(i, q) {
		int a, b, c, d; scanf("%d%d%d%d", &a, &b, &c, &d);
		printf("select count(((x between %d and %d) and (y between %d and %d)) or null) from point;\n", a, b, c, d);
		fflush(stdout);
	}
}
0