結果
問題 | No.304 鍵(1) |
ユーザー | rickytheta |
提出日時 | 2015-11-28 20:53:32 |
言語 | C++11 (gcc 11.4.0) |
結果 |
AC
|
実行時間 | 64 ms / 2,000 ms |
コード長 | 729 bytes |
コンパイル時間 | 1,104 ms |
コンパイル使用メモリ | 144,956 KB |
実行使用メモリ | 24,360 KB |
平均クエリ数 | 523.67 |
最終ジャッジ日時 | 2023-09-23 22:09:34 |
合計ジャッジ時間 | 2,097 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 29 ms
23,856 KB |
testcase_01 | AC | 38 ms
23,688 KB |
testcase_02 | AC | 64 ms
24,360 KB |
testcase_03 | AC | 41 ms
23,436 KB |
testcase_04 | AC | 42 ms
24,252 KB |
testcase_05 | AC | 62 ms
23,424 KB |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector<ll> vl; typedef complex<double> P; typedef pair<int,int> pii; #define REP(i,n) for(ll i=0;i<n;++i) #define REPR(i,n) for(ll i=1;i<n;++i) #define FOR(i,a,b) for(ll i=a;i<b;++i) #define DEBUG(x) cout<<#x<<": "<<x<<endl #define DEBUG_VEC(v) cout<<#v<<":";REP(i,v.size())cout<<" "<<v[i];cout<<endl #define ALL(a) (a).begin(),(a).end() #define MOD (ll)(1e9+7) #define ADD(a,b) a=((a)+(b))%MOD #define FIX(a) ((a)%MOD+MOD)%MOD int main(){ REP(i,1000){ string s; s += (i%10)+'0'; s += (i/10)%10+'0'; s += (i/100)%10+'0'; cout << s << endl; cin >> s; if(s == "unlocked")break; } return 0; }