結果
問題 | No.5017 Tool-assisted Shooting |
ユーザー | FplusFplusF |
提出日時 | 2023-07-16 14:06:22 |
言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 62 ms / 2,000 ms |
コード長 | 801 bytes |
コンパイル時間 | 2,105 ms |
コンパイル使用メモリ | 200,888 KB |
実行使用メモリ | 24,360 KB |
スコア | 74,830 |
平均クエリ数 | 399.74 |
最終ジャッジ日時 | 2023-07-16 14:06:34 |
合計ジャッジ時間 | 10,698 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
純コード判定しない問題か言語 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 100 |
ソースコード
#include <bits/stdc++.h> using namespace std; const int INF=1e9; using pii=pair<int,int>; using tii=tuple<int,int,int>; #define rep(i,n) for (int i=0;i<(int)(n);i++) #define all(v) v.begin(),v.end() template<class T> void chmin(T &a,T b){ if(a>b){ a=b; } } template<class T> void chmax(T &a,T b){ if(a<b){ a=b; } } auto start=chrono::system_clock::now(); struct Input{ int n; vector<int> h,p,x; void input_cin(){ cin >> n; if(n==-1) exit(0); h.resize(n); p.resize(n); x.resize(n); rep(i,n) cin >> h[i] >> p[i] >> x[i]; } }Input; struct solver{ void solve(){ rep(i,1000){ Input.input_cin(); cout << "S" << endl; } } }Solver; int main(){ Solver.solve(); }