結果
| 問題 | No.5017 Tool-assisted Shooting |
| コンテスト | |
| ユーザー |
かえで
|
| 提出日時 | 2023-07-16 14:41:48 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 77 ms / 2,000 ms |
| コード長 | 458 bytes |
| コンパイル時間 | 712 ms |
| コンパイル使用メモリ | 67,424 KB |
| 実行使用メモリ | 24,408 KB |
| スコア | 74,830 |
| 平均クエリ数 | 399.74 |
| 最終ジャッジ日時 | 2023-07-16 14:41:57 |
| 合計ジャッジ時間 | 9,412 ms |
|
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
| 純コード判定しない問題か言語 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}
かえで