結果

問題 No.304 鍵(1)
ユーザー chacoder1chacoder1
提出日時 2021-04-26 22:19:44
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 64 ms / 2,000 ms
コード長 366 bytes
コンパイル時間 1,950 ms
コンパイル使用メモリ 197,448 KB
実行使用メモリ 24,264 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-24 02:57:02
合計ジャッジ時間 2,987 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
24,252 KB
testcase_01 AC 30 ms
23,460 KB
testcase_02 AC 64 ms
24,084 KB
testcase_03 AC 30 ms
23,448 KB
testcase_04 AC 45 ms
24,264 KB
testcase_05 AC 30 ms
24,108 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
string s;

int main(void) {
  for(int i=0;i<=999;i++){
    if(i<10){
      cout<<"00";
      cout<<i;
      cout<<endl;
    }
    else if(i<100){
      cout<<"0";
      cout<<i;
      cout<<endl;
    }
    else{
      cout<<i<<endl;
    }
    cin>>s;
    if(s=="unlocked") return 0;
    else continue;
  }
  return 0;
}
0