結果
| 問題 |
No.1026 OGAWA's New Keyboard
|
| ユーザー |
|
| 提出日時 | 2020-04-19 23:06:40 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 262 bytes |
| コンパイル時間 | 560 ms |
| コンパイル使用メモリ | 66,324 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-06 08:08:39 |
| 合計ジャッジ時間 | 3,557 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 TLE * 1 |
| other | AC * 21 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main()
{
string r;
int N;
cin >> N;
for (int i = 0; i < N; ++i)
{
int T;
string S;
cin >> T;
cin >> S;
if (T == 0)
r += S;
else
r = S + r;
}
cout << r << endl;
return 0;
}