結果
問題 | No.400 鏡 |
ユーザー |
![]() |
提出日時 | 2018-01-17 18:49:43 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 341 bytes |
コンパイル時間 | 494 ms |
コンパイル使用メモリ | 60,000 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-24 06:49:58 |
合計ジャッジ時間 | 1,165 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 8 |
ソースコード
#include<iostream>#include<vector>#include<string>#include<cstdio>#include<algorithm>using namespace std;int main(){string str;cin >> str;for(int i=str.size()-1;i>=0;i--){if(str[i]=='>'){cout << '<';}else{cout << '>';}}cout << endl;return 0;}