結果
| 問題 |
No.5017 Tool-assisted Shooting
|
| ユーザー |
platinum
|
| 提出日時 | 2023-06-19 21:16:30 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 66 ms / 2,000 ms |
| コード長 | 459 bytes |
| コンパイル時間 | 747 ms |
| コンパイル使用メモリ | 67,556 KB |
| 実行使用メモリ | 24,396 KB |
| スコア | 74,830 |
| 平均クエリ数 | 399.74 |
| 最終ジャッジ日時 | 2023-07-16 13:30:20 |
| 合計ジャッジ時間 | 8,754 ms |
|
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
| 純コード判定しない問題か言語 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 100 |
ソースコード
#include <iostream>
constexpr int width = 25; // フィールドの幅
constexpr int height = 60; // フィールドの高さ
constexpr int max_turn = 1000; // ゲームの最大ターン数
int main(){
for(int turn = 1; turn <= max_turn; turn++) {
// 入力の受け取り
int n;
std::cin >> n;
if(n == -1) return 0;
for(int i = 0; i < n; i++) {
int h, p, x;
std::cin >> h >> p >> x;
}
std::cout << 'S' << std::endl;
}
return 0;
}
platinum