結果
問題 | No.400 鏡 |
ユーザー |
|
提出日時 | 2016-07-25 02:20:00 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 701 bytes |
コンパイル時間 | 668 ms |
コンパイル使用メモリ | 80,876 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-06 16:10:25 |
合計ジャッジ時間 | 1,286 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 8 |
ソースコード
#include <algorithm>#include <cmath>#include <complex>#include <cstdio>#include <cstdlib>#include <cstring>#include <iostream>#include <map>#include <numeric>#include <queue>#include <set>#include <string>#include <vector>using namespace std;typedef long long int ll;typedef pair<int, int> pii;typedef pair<ll, ll> pll;typedef vector<int> vi;#define rep(i,x) for(int i=0;i<(int)(x);++i)#define reps(i,x) for(int i=1;i<=(int)(x);++i)#define rrep(i,x) for(int i=((int)(x)-1);i>=0;i--)#define pb push_backstring s;int main(){ios::sync_with_stdio(false);cin.tie(0);cin >> s;rrep(i,s.size()) cout << (s[i] == '<' ? '>' : '<');cout << '\n';return 0;}