結果
問題 | No.3021 データベースの練習 |
ユーザー | yudedako |
提出日時 | 2017-04-01 03:57:20 |
言語 | Ruby (3.3.0) |
結果 |
AC
|
実行時間 | 525 ms / 5,000 ms |
コード長 | 186 bytes |
コンパイル時間 | 48 ms |
コンパイル使用メモリ | 11,212 KB |
実行使用メモリ | 31,432 KB |
平均クエリ数 | 540.42 |
最終ジャッジ日時 | 2023-09-23 13:09:38 |
合計ジャッジ時間 | 5,474 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 196 ms
31,432 KB |
testcase_01 | AC | 315 ms
31,312 KB |
testcase_02 | AC | 384 ms
30,744 KB |
testcase_03 | AC | 395 ms
31,172 KB |
testcase_04 | AC | 374 ms
31,208 KB |
testcase_05 | AC | 385 ms
31,020 KB |
testcase_06 | AC | 222 ms
31,056 KB |
testcase_07 | AC | 302 ms
30,664 KB |
testcase_08 | AC | 384 ms
31,152 KB |
testcase_09 | AC | 323 ms
30,752 KB |
testcase_10 | AC | 295 ms
31,100 KB |
testcase_11 | AC | 525 ms
31,132 KB |
コンパイルメッセージ
Syntax OK
ソースコード
gets.to_i.times do x1, x2, y1, y2 = gets.split(" ").map{|n|n.to_i} puts "SELECT count(*) FROM point WHERE #{x1} <= x AND x <= #{x2} AND #{y1} <= y AND y <= #{y2};" STDOUT.flush end