結果
問題 |
No.1026 OGAWA's New Keyboard
|
ユーザー |
|
提出日時 | 2020-04-19 23:03:15 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 253 bytes |
コンパイル時間 | 680 ms |
コンパイル使用メモリ | 65,024 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-06 08:08:22 |
合計ジャッジ時間 | 1,778 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 5 |
other | WA * 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, S; if (T == 0) r += S; else r = S + r; } cout << r << endl; return 0; }