結果

問題 No.1217 せしすせそ
ユーザー GafoGafo
提出日時 2021-02-22 18:23:50
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 266 bytes
コンパイル時間 192 ms
コンパイル使用メモリ 28,416 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-21 14:40:18
合計ジャッジ時間 810 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main()
{
	char str[26];
	char box;

	int i;

	scanf("%s", str);

	for(i = 0; i < 26; i++)
	{
		box = 97 + i;
		if(str[i] != box)
		{
			printf("%cto%c\n", box, str[i]);
		}
		else
		{
			//printf("%cto%c\n", box, str[i]);
		}
	}	
	return 0;
}
0