結果
問題 | No.1217 せしすせそ |
ユーザー |
|
提出日時 | 2020-09-04 21:24:15 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 12 ms / 2,000 ms |
コード長 | 359 bytes |
コンパイル時間 | 623 ms |
コンパイル使用メモリ | 67,044 KB |
最終ジャッジ日時 | 2025-01-14 04:55:28 |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include <iostream>#include <string>void solve() {std::string s;std::cin >> s;for (int i = 0; i < 26; ++i) {char c = 'a' + i;if (s[i] != c) {std::cout << c << "to" << s[i] << "\n";}}}int main() {std::cin.tie(nullptr);std::ios::sync_with_stdio(false);solve();return 0;}