結果
問題 | No.1217 せしすせそ |
ユーザー |
![]() |
提出日時 | 2020-09-04 21:22:06 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 36 ms / 2,000 ms |
コード長 | 401 bytes |
コンパイル時間 | 825 ms |
コンパイル使用メモリ | 90,252 KB |
最終ジャッジ日時 | 2025-01-14 04:48:58 |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include <iostream> #include <vector> #include <string> #include <algorithm> #include <cstdio> #include <cstring> #include <cmath> using namespace std; using ll = long long; int main() { string s; cin >> s; for (int i = 0; i < 26; i++) { char c = 'a' + i; if (s[i] != c) { cout << c << "to" << s[i] << endl; break; } } return 0; }