結果
問題 |
No.1217 せしすせそ
|
ユーザー |
|
提出日時 | 2021-01-22 16:04:03 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 353 bytes |
コンパイル時間 | 804 ms |
コンパイル使用メモリ | 63,616 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-26 17:45:31 |
合計ジャッジ時間 | 1,940 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include <iostream> #include <string> using namespace std; void solve(const char *s) { const char a[] = "abcdefghijklmnopqrstuvwxyz"; for (int n = 0; n < sizeof(a); n++) { if (s[n] != a[n]) { cout << a[n] << "to" << s[n] << endl; } } } int main() { string text; cin >> text; solve(text.c_str()); }