結果
問題 | No.1217 せしすせそ |
ユーザー |
![]() |
提出日時 | 2020-09-04 21:31:29 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 15 ms / 2,000 ms |
コード長 | 427 bytes |
コンパイル時間 | 2,016 ms |
コンパイル使用メモリ | 193,792 KB |
最終ジャッジ日時 | 2025-01-14 05:09:37 |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include <bits/stdc++.h>using namespace std;#define rep(i,n) for(int i = 0; i < (n);i++)#define sz(x) int(x.size())typedef long long ll;typedef long double ld;typedef pair<int,int> P;int main() {string s;cin >> s;string res = "";for (int i = 0; i < 26; i++) {if (char('a' + i) != s[i]) {cout << char('a' + i);cout << "to";cout << s[i] << endl;break;}}return 0;}