結果

問題 No.400 鏡
ユーザー dorothy
提出日時 2016-07-22 23:00:05
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 247 bytes
コンパイル時間 559 ms
コンパイル使用メモリ 62,964 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-06 09:14:49
合計ジャッジ時間 3,192 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 4
other RE * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>

using namespace std;

int main() {
	char a[20];
	int i;
	i=0;
	while(i<=20){
		cin >> a[i];
		if(a[i]=='<'){
			cout <<">" ;
		}else if(a[i]=='>'){
			cout << "<";
		}
		i++;
		
	}
	cout << endl;
	return 0;
}
0