結果

問題 No.400 鏡
ユーザー tarotaro789
提出日時 2017-04-20 21:59:19
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 233 bytes
コンパイル時間 148 ms
コンパイル使用メモリ 28,928 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-19 21:15:55
合計ジャッジ時間 626 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 4
other WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main(void){
	char st[20];
	int i,j;
	scanf("%s",st);
	for(j=0;st[j]!=0;j++){
		if(st[j]=='<')st[j]='>';
		else
		st[j]='<';
	}
	
	for(i=j;i>=0;i--){
		printf("%c",st[i]);
	}
        printf("\n");
	return 0;
}
0