結果
問題 |
No.400 鏡
|
ユーザー |
|
提出日時 | 2017-04-20 21:56:05 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 211 bytes |
コンパイル時間 | 479 ms |
コンパイル使用メモリ | 28,672 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-19 21:15:51 |
合計ジャッジ時間 | 1,031 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | WA * 8 |
ソースコード
#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]); } return 0; }