結果
| 問題 |
No.8021 データベースの練習
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-04-25 18:02:05 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 570 bytes |
| コンパイル時間 | 2,361 ms |
| コンパイル使用メモリ | 75,372 KB |
| 実行使用メモリ | 75,560 KB |
| 平均クエリ数 | 540.42 |
| 最終ジャッジ日時 | 2024-07-16 12:50:56 |
| 合計ジャッジ時間 | 10,909 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 WA * 11 |
ソースコード
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = Integer.parseInt(sc.next());
for (int i = 0; i < N; i++) {
int Xs = Integer.parseInt(sc.next());
int Xe = Integer.parseInt(sc.next());
int Ys = Integer.parseInt(sc.next());
int Ye = Integer.parseInt(sc.next());
System.out.printf("SELECT count(x) FROM point WHERE X BETWEEN %d and %d and Y BETWEEN %d and %d\n", Xs, Xe, Ys, Ye);
}
}
}