結果
| 問題 |
No.2925 2-Letter Shiritori
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-10-24 11:47:09 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 68 ms / 2,000 ms |
| コード長 | 287 bytes |
| コンパイル時間 | 736 ms |
| コンパイル使用メモリ | 67,680 KB |
| 最終ジャッジ日時 | 2025-02-24 22:37:39 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
ソースコード
#include <iostream>
using namespace std;
int main()
{
cin.tie(nullptr);
ios::sync_with_stdio(false);
char alpha, status, S[3];
cin >> alpha;
cout << "? " << alpha << alpha << endl;
while (cin >> status >> S, status == '?')
cout << "? " << S[1] << alpha << endl;
return 0;
}