結果
| 問題 |
No.400 鏡
|
| コンテスト | |
| ユーザー |
kapo
|
| 提出日時 | 2016-07-22 22:27:25 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 664 bytes |
| コンパイル時間 | 652 ms |
| コンパイル使用メモリ | 73,096 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-06 08:58:49 |
| 合計ジャッジ時間 | 1,126 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 3 |
| other | AC * 4 WA * 4 |
ソースコード
#define _CRT_SECURE_NO_WARNINGS // #pragma warning(disable:4996)
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <queue>
#include <functional>
#include <sstream>
#include <cmath>
using namespace std;
#define rep(i,a,b) for(int i=(a);i<(b);i++)
#define pb push_back
#define mp(a,b) make_pair(a,b)
#define all(a) a.begin(),a.end()
typedef pair<int, int> Pii;
typedef vector<int> V;
typedef long long ll;
const int inf = 2e9;
const int mod = 1e9 + 7;
const int MAX_N = 202020;
int main()
{
string s1, s2;
cin >> s1;
rep(i,0,s1.size()) {
if (s1[i] == '<') s2 += '>';
else s2 += '<';
}
cout << s2 << endl;
return 0;
}
kapo