結果
問題 |
No.400 鏡
|
ユーザー |
![]() |
提出日時 | 2018-03-26 23:48:56 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 290 bytes |
コンパイル時間 | 820 ms |
コンパイル使用メモリ | 60,856 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-25 12:22:42 |
合計ジャッジ時間 | 1,205 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 8 |
ソースコード
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int main() { string s; cin >> s; int i = s.length(); for(i--;i >= 0;i--){ if(s[i] == '<')cout << '>'; else cout << '<'; } cout << endl; return 0; }