結果
問題 | No.304 鍵(1) |
ユーザー |
![]() |
提出日時 | 2015-11-27 22:32:27 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 64 ms / 2,000 ms |
コード長 | 509 bytes |
コンパイル時間 | 653 ms |
コンパイル使用メモリ | 80,132 KB |
実行使用メモリ | 25,220 KB |
平均クエリ数 | 309.17 |
最終ジャッジ日時 | 2024-07-16 20:41:33 |
合計ジャッジ時間 | 1,584 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 |
ソースコード
#include <iostream> #include <string> #include <algorithm> #include <functional> #include <vector> #include <stack> #include <queue> #include <set> #include <map> #include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> using namespace std; int main() { for( int i = 0; i < 1000; i++ ){ if( i < 10 ) cout << "00" << i << endl; else if( i < 100 ) cout << "0" << i << endl; else cout << i << endl; string res; cin >> res; if( res == "unlocked" ) break; } return 0; }