結果
問題 |
No.1217 せしすせそ
|
ユーザー |
![]() |
提出日時 | 2020-09-07 02:15:58 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 372 bytes |
コンパイル時間 | 1,595 ms |
コンパイル使用メモリ | 166,480 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-29 08:00:11 |
合計ジャッジ時間 | 2,168 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 10 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ string s; cin >> s; char check = 'a'; string ans; for (auto c : s){ cout << check << " " << c << endl; if (check != c){ ans = check; ans += "to"; ans += c; break; } check += 1; } cout << ans << endl; }