結果

問題 No.400 鏡
ユーザー uenoku
提出日時 2016-09-20 21:12:26
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 259 bytes
コンパイル時間 580 ms
コンパイル使用メモリ 54,912 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-17 10:12:31
合計ジャッジ時間 1,224 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 3
other AC * 4 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>

using namespace std;
int main()
{
    string s;
    cin >> s;
    for (int i = 0; i < s.size(); i++) {
        if (s[i] == '<')
            s[i] = '>';
        else
            s[i] = '<';
    }
    cout << s << endl;
}
0