結果
問題 | No.5017 Tool-assisted Shooting |
ユーザー | nikaj |
提出日時 | 2023-07-16 14:37:57 |
言語 | C++11 (gcc 11.4.0) |
結果 |
AC
|
実行時間 | 65 ms / 2,000 ms |
コード長 | 1,894 bytes |
コンパイル時間 | 3,099 ms |
コンパイル使用メモリ | 145,000 KB |
実行使用メモリ | 24,516 KB |
スコア | 74,830 |
平均クエリ数 | 399.74 |
最終ジャッジ日時 | 2023-07-16 14:38:09 |
合計ジャッジ時間 | 12,185 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge13 |
純コード判定しない問題か言語 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 33 ms
23,256 KB |
testcase_01 | AC | 59 ms
23,652 KB |
testcase_02 | AC | 28 ms
23,388 KB |
testcase_03 | AC | 27 ms
23,664 KB |
testcase_04 | AC | 37 ms
24,360 KB |
testcase_05 | AC | 35 ms
23,532 KB |
testcase_06 | AC | 27 ms
24,372 KB |
testcase_07 | AC | 36 ms
23,556 KB |
testcase_08 | AC | 28 ms
24,024 KB |
testcase_09 | AC | 31 ms
23,532 KB |
testcase_10 | AC | 37 ms
23,676 KB |
testcase_11 | AC | 30 ms
23,424 KB |
testcase_12 | AC | 27 ms
23,664 KB |
testcase_13 | AC | 33 ms
24,276 KB |
testcase_14 | AC | 31 ms
23,856 KB |
testcase_15 | AC | 29 ms
24,036 KB |
testcase_16 | AC | 27 ms
24,048 KB |
testcase_17 | AC | 59 ms
24,060 KB |
testcase_18 | AC | 62 ms
23,388 KB |
testcase_19 | AC | 31 ms
24,276 KB |
testcase_20 | AC | 34 ms
23,976 KB |
testcase_21 | AC | 34 ms
23,544 KB |
testcase_22 | AC | 39 ms
24,012 KB |
testcase_23 | AC | 28 ms
23,544 KB |
testcase_24 | AC | 42 ms
24,060 KB |
testcase_25 | AC | 31 ms
23,388 KB |
testcase_26 | AC | 39 ms
23,664 KB |
testcase_27 | AC | 58 ms
24,072 KB |
testcase_28 | AC | 32 ms
24,048 KB |
testcase_29 | AC | 32 ms
24,396 KB |
testcase_30 | AC | 36 ms
23,652 KB |
testcase_31 | AC | 28 ms
23,424 KB |
testcase_32 | AC | 35 ms
24,336 KB |
testcase_33 | AC | 31 ms
24,060 KB |
testcase_34 | AC | 59 ms
23,604 KB |
testcase_35 | AC | 29 ms
24,048 KB |
testcase_36 | AC | 40 ms
23,640 KB |
testcase_37 | AC | 33 ms
23,400 KB |
testcase_38 | AC | 27 ms
24,060 KB |
testcase_39 | AC | 60 ms
24,036 KB |
testcase_40 | AC | 36 ms
24,516 KB |
testcase_41 | AC | 27 ms
24,036 KB |
testcase_42 | AC | 49 ms
24,060 KB |
testcase_43 | AC | 47 ms
23,544 KB |
testcase_44 | AC | 29 ms
24,036 KB |
testcase_45 | AC | 35 ms
24,012 KB |
testcase_46 | AC | 63 ms
24,024 KB |
testcase_47 | AC | 33 ms
23,556 KB |
testcase_48 | AC | 62 ms
24,360 KB |
testcase_49 | AC | 58 ms
24,384 KB |
testcase_50 | AC | 31 ms
23,676 KB |
testcase_51 | AC | 59 ms
24,336 KB |
testcase_52 | AC | 59 ms
24,336 KB |
testcase_53 | AC | 32 ms
24,012 KB |
testcase_54 | AC | 33 ms
23,412 KB |
testcase_55 | AC | 42 ms
23,664 KB |
testcase_56 | AC | 28 ms
24,372 KB |
testcase_57 | AC | 58 ms
23,556 KB |
testcase_58 | AC | 50 ms
24,036 KB |
testcase_59 | AC | 29 ms
24,060 KB |
testcase_60 | AC | 43 ms
24,384 KB |
testcase_61 | AC | 65 ms
24,384 KB |
testcase_62 | AC | 58 ms
23,544 KB |
testcase_63 | AC | 30 ms
24,288 KB |
testcase_64 | AC | 27 ms
24,060 KB |
testcase_65 | AC | 59 ms
24,396 KB |
testcase_66 | AC | 31 ms
24,036 KB |
testcase_67 | AC | 32 ms
23,664 KB |
testcase_68 | AC | 39 ms
24,336 KB |
testcase_69 | AC | 38 ms
23,640 KB |
testcase_70 | AC | 28 ms
24,300 KB |
testcase_71 | AC | 37 ms
24,024 KB |
testcase_72 | AC | 28 ms
24,024 KB |
testcase_73 | AC | 58 ms
23,688 KB |
testcase_74 | AC | 32 ms
24,384 KB |
testcase_75 | AC | 29 ms
24,036 KB |
testcase_76 | AC | 32 ms
23,652 KB |
testcase_77 | AC | 35 ms
23,544 KB |
testcase_78 | AC | 33 ms
24,288 KB |
testcase_79 | AC | 41 ms
24,324 KB |
testcase_80 | AC | 32 ms
23,436 KB |
testcase_81 | AC | 34 ms
23,544 KB |
testcase_82 | AC | 33 ms
24,288 KB |
testcase_83 | AC | 31 ms
23,652 KB |
testcase_84 | AC | 28 ms
23,388 KB |
testcase_85 | AC | 27 ms
23,412 KB |
testcase_86 | AC | 38 ms
24,336 KB |
testcase_87 | AC | 29 ms
23,820 KB |
testcase_88 | AC | 27 ms
23,532 KB |
testcase_89 | AC | 32 ms
24,036 KB |
testcase_90 | AC | 31 ms
23,664 KB |
testcase_91 | AC | 27 ms
23,544 KB |
testcase_92 | AC | 58 ms
23,388 KB |
testcase_93 | AC | 27 ms
23,844 KB |
testcase_94 | AC | 32 ms
23,388 KB |
testcase_95 | AC | 65 ms
24,132 KB |
testcase_96 | AC | 52 ms
23,652 KB |
testcase_97 | AC | 31 ms
23,388 KB |
testcase_98 | AC | 31 ms
23,640 KB |
testcase_99 | AC | 29 ms
23,388 KB |
ソースコード
#include <bits/stdc++.h> using namespace std; #define F0(i,n) for (int i=0; i<n; i++) #define F1(i,n) for (int i=1; i<=n; i++) #define CL(a,x) memset(x, a, sizeof(x)); #define SZ(x) ((int)x.size()) const int inf = 1000009; const double pi = acos(-1.0); typedef pair<int, int> pii; typedef long long ll; const double EPS = 1e-9; const int MOD = 998244353; #define PR(x) cerr << #x << "=" << x << endl template<class A, class B> ostream& operator<<(ostream& os, const pair<A, B>& p) { os << "(" << p.first << ", " << p.second << ")"; return os; } template<class A, class B, class C> ostream& operator<<(ostream& os, const tuple<A, B, C>& p) { os << "(" << get<0>(p) << ", " << get<1>(p) << ", " << get<2>(p) << ")"; return os; } istream& operator>>(istream& is, pii& p) { is>>p.first>>p.second; return is; } template<class T> ostream& operator<<(ostream& os, const vector<T>& v) { os << "["; F0(i,SZ(v)) { if (i>0) os << ","; os << v[i]; } os << "]"; return os; } template<class T> ostream& operator<<(ostream& os, const set<T>& v) { os << "{"; int f=1; for(auto i:v) { if(f)f=0;else os << ","; cerr << i; } os << "}" << endl; return os; } template<class T, class R> ostream& operator<<(ostream& os, const map<T,R>& v) { os << "{"; int f=1; for(auto i:v) { if(f)f=0;else os << ", "; cerr << i.first << ":" << i.second; } os << "}" << endl; return os; } int i, j, k, turn; ll n, m, ans; const int N = 200005; const int M = 435; int dp[N]; const int DX[]={-1,0,1,0}; const int DY[]={0,1,0,-1}; const string CS="nesw"; const string HS="URDL"; void Solve() { for (turn = 1; turn <= 1000; turn++) { cin >> n; if (n == -1) break; F0(i, n) { int h, p, x; cin >> h >> p >> x; } cout << 'S' << endl; } } int main() { //ignore = freopen("x.in", "r", stdin); //freopen("x.out", "w", stdout); Solve(); return 0; }