結果
問題 | No.1217 せしすせそ |
ユーザー |
![]() |
提出日時 | 2020-09-04 21:21:40 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 273 bytes |
コンパイル時間 | 3,149 ms |
コンパイル使用メモリ | 247,448 KB |
最終ジャッジ日時 | 2025-01-14 04:47:06 |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include <bits/extc++.h>int main() {using namespace std;cin.tie(nullptr)->sync_with_stdio(false);string s;cin >> s;for (int i = 0; i < 26; ++i) {if (s[i] - 'a' != i) {cout << string(1, 'a' + i) + "to" + s[i] << '\n';exit(0);}}}