結果
問題 | No.400 鏡 |
ユーザー |
|
提出日時 | 2017-04-21 14:07:09 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 225 bytes |
コンパイル時間 | 1,104 ms |
コンパイル使用メモリ | 28,672 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-20 05:02:27 |
合計ジャッジ時間 | 1,022 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | WA * 8 |
ソースコード
#include <stdio.h> int main(void){ char st[20]; int i,j; fgets(st, sizeof(st), stdin); 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; }