結果

問題 No.400 鏡
コンテスト
ユーザー newlife171128
提出日時 2017-12-12 23:04:39
言語 C++11
(gcc 15.3.0 + boost 1.92.0)
コンパイル:
g++-15 -O2 -lm -std=gnu++11 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
AC  
実行時間 1 ms / 2,000 ms
+ 322µs
コード長 457 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 413 ms
コンパイル使用メモリ 105,264 KB
実行使用メモリ 9,868 KB
最終ジャッジ日時 2026-10-03 07:24:03
合計ジャッジ時間 1,702 ms
ジャッジサーバーID
(参考情報)
judge3_1 / judge4_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <iostream>
#include <stdio.h>
#include <algorithm>
#include <vector>
#include <cmath>
#include <string>
#include <sstream>
#include<sstream>
#include <queue>
#include <limits>
#include <cstdlib>
#include <deque>
#include <map>
#include <set>
#include <iomanip>
using namespace std;

int main() {

	string s ;
	cin>>s;

	for(int i=s.length()-1; i>=0; i--){
		if(s[i] == '>'){
			cout<<"<";
		}else {
			cout<<">";
		}
	}
	cout<<endl;


	return 0;
}
0