結果
問題 | No.2925 2-Letter Shiritori |
ユーザー |
![]() |
提出日時 | 2024-10-12 18:42:32 |
言語 | C++17 (gcc 12.3.0 + boost 1.83.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 331 bytes |
コンパイル時間 | 2,306 ms |
コンパイル使用メモリ | 199,148 KB |
実行使用メモリ | 42,220 KB |
最終ジャッジ日時 | 2024-10-12 18:42:40 |
合計ジャッジ時間 | 8,897 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | TLE | - |
testcase_01 | -- | - |
testcase_02 | -- | - |
testcase_03 | -- | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
ソースコード
#include <bits/stdc++.h> using namespace std; void fast_io() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { fast_io(); char a; cin >> a; cout << "? " << a << a << endl; while (true) { char state, t; cin >> state >> t; if (state == '!') { return 0; } cout << "? " << t << a << endl; } }