結果
問題 | No.1217 せしすせそ |
ユーザー |
![]() |
提出日時 | 2022-11-03 11:27:41 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 303 bytes |
コンパイル時間 | 1,410 ms |
コンパイル使用メモリ | 159,484 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-17 21:38:42 |
合計ジャッジ時間 | 2,148 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include <bits/stdc++.h>using namespace std;#include <ios>#include <iomanip>#include <iostream>#include <string>#include <algorithm>int main(){string a;cin >>a;for(int i=0;i<26;i++){if(a.at(i)!=('a'+i)){char b ='a'+i;cout <<b<<"to"<<a.at(i);}}}