結果
問題 | No.3021 データベースの練習 |
ユーザー | 👑 tatt61880 |
提出日時 | 2020-04-22 20:56:22 |
言語 | Kuin (KuinC++ v.2021.9.17) |
結果 |
AC
|
実行時間 | 426 ms / 5,000 ms |
コード長 | 351 bytes |
コンパイル時間 | 2,463 ms |
コンパイル使用メモリ | 160,900 KB |
実行使用メモリ | 24,444 KB |
平均クエリ数 | 1.00 |
最終ジャッジ日時 | 2023-10-14 16:17:39 |
合計ジャッジ時間 | 9,601 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 102 ms
23,592 KB |
testcase_01 | AC | 220 ms
24,048 KB |
testcase_02 | AC | 290 ms
24,396 KB |
testcase_03 | AC | 303 ms
23,892 KB |
testcase_04 | AC | 284 ms
23,664 KB |
testcase_05 | AC | 291 ms
23,556 KB |
testcase_06 | AC | 131 ms
23,448 KB |
testcase_07 | AC | 209 ms
23,844 KB |
testcase_08 | AC | 284 ms
23,484 KB |
testcase_09 | AC | 229 ms
23,388 KB |
testcase_10 | AC | 203 ms
24,444 KB |
testcase_11 | AC | 426 ms
24,348 KB |
ソースコード
func main() var n: int :: cui@input().toInt(&) for i(1, n) var ss: [][]char :: cui@input().split(" ") var xl: int :: ss[0].toInt(&) var xg: int :: ss[1].toInt(&) var yl: int :: ss[2].toInt(&) var yg: int :: ss[3].toInt(&) do cui@print("SELECT count(*) FROM point WHERE \{xl}<=x AND x<=\{xg} AND \{yl}<=y AND y<=\{yg};") end for end func