結果
| 問題 | No.1468 Colourful Pastel |
| ユーザー |
mathiu
|
| 提出日時 | 2021-04-18 10:18:06 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 408 bytes |
| 記録 | |
| コンパイル時間 | 5,108 ms |
| コンパイル使用メモリ | 277,376 KB |
| 実行使用メモリ | 18,768 KB |
| 最終ジャッジ日時 | 2024-07-04 04:25:20 |
| 合計ジャッジ時間 | 9,536 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 3 |
| other | TLE * 1 -- * 24 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(void) {
int int01;
string str01, str02, result;
cin >> int01;
for (int i = 0; i < int01; i++) {
cin >> str01;
result += str01;
}
for (int i = 0; i < int01 - 1; i++) {
cin >> str02;
regex re(str02);
result = regex_replace(result, re, "", regex_constants::format_first_only);
}
cout << result << endl;
return 0;
}
mathiu