結果
| 問題 |
No.400 鏡
|
| コンテスト | |
| ユーザー |
cww
|
| 提出日時 | 2016-07-22 22:28:33 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 356 bytes |
| コンパイル時間 | 1,458 ms |
| コンパイル使用メモリ | 167,740 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-06 08:59:39 |
| 合計ジャッジ時間 | 2,041 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 8 |
ソースコード
#include <bits/stdc++.h>
#define REP(i,n) for(int i=0; i<(n); i++)
#define REP2(i,x,n) for(int i=x; i<(n); i++)
using namespace std;
struct CWW{CWW(){ios::sync_with_stdio(false);cin.tie(0);}}cww;
int main()
{
string S;
cin >> S;
reverse( S.begin(), S.end() );
REP( i, (int)S.size() ){
cout << ( S[i]=='<' ? '>' : '<' );
}
cout << endl;
return 0;
}
cww