結果

問題 No.400 鏡
ユーザー トミー
提出日時 2024-03-28 00:49:02
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 303 bytes
コンパイル時間 1,839 ms
コンパイル使用メモリ 194,060 KB
最終ジャッジ日時 2025-02-20 14:08:56
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef int64_t lint;

int main()
{
    string s;
    cin>>s;
    for(lint i=s.size()-1;i!=-1;i--){
        if(s[i]=='<'){
            cout<<'>';
        }
        else{
            cout<<'<';
        }
    }
    cout<<""<<endl;


    // system("pause");
}
0