結果
| 問題 |
No.400 鏡
|
| コンテスト | |
| ユーザー |
elkurin
|
| 提出日時 | 2016-07-22 22:30:09 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 214 bytes |
| コンパイル時間 | 579 ms |
| コンパイル使用メモリ | 56,636 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-06 09:02:44 |
| 合計ジャッジ時間 | 1,158 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 3 |
| other | AC * 4 WA * 4 |
ソースコード
#include <iostream>
using namespace std;
int main(void)
{
string s;
cin >> s;
int n = (int)s.length();
for (int i = 0; i < n; i++) {
if (s[n - 1] == '<') cout << '>';
else cout << '<';
}
cout << endl;
return 0;
}
elkurin