結果
問題 |
No.2925 2-Letter Shiritori
|
ユーザー |
|
提出日時 | 2024-10-14 13:47:50 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 501 bytes |
コンパイル時間 | 1,973 ms |
コンパイル使用メモリ | 194,428 KB |
最終ジャッジ日時 | 2025-02-24 19:28:09 |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | TLE * 1 -- * 1 |
other | -- * 10 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; #include<atcoder/modint> using namespace atcoder; using mint = modint998244353; void solve() { char C; cin>>C; cout<<"? "<<C<<C<<endl; string S; while(1){ cin>>S; if(S[0]=='!')return; reverse(S.begin(),S.end()); cout<<"? "<<S<<endl; } } int main() { // ios::sync_with_stdio(false); // cin.tie(nullptr); // ll T; // cin>>T; // while(T--) solve(); }