結果
問題 | No.304 鍵(1) |
ユーザー | lunnear |
提出日時 | 2018-05-07 16:42:19 |
言語 | C++11 (gcc 11.4.0) |
結果 |
AC
|
実行時間 | 65 ms / 2,000 ms |
コード長 | 245 bytes |
コンパイル時間 | 513 ms |
コンパイル使用メモリ | 60,144 KB |
実行使用メモリ | 23,988 KB |
平均クエリ数 | 309.17 |
最終ジャッジ日時 | 2023-09-24 01:45:34 |
合計ジャッジ時間 | 1,498 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 26 ms
23,520 KB |
testcase_01 | AC | 30 ms
23,376 KB |
testcase_02 | AC | 65 ms
23,808 KB |
testcase_03 | AC | 29 ms
23,268 KB |
testcase_04 | AC | 45 ms
23,988 KB |
testcase_05 | AC | 29 ms
23,532 KB |
ソースコード
#include <iostream> #include <iomanip> int main() { char ret[10]; for (int num = 0; num < 1000; num++) { std::cout << std::setfill('0') << std::setw(3) << num << std::endl; std::cin >> ret; if (ret[0] == 'u') break; } return 0; }