結果
| 問題 | No.1468 Colourful Pastel |
| ユーザー |
|
| 提出日時 | 2025-02-02 14:11:32 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 493 bytes |
| 記録 | |
| コンパイル時間 | 2,347 ms |
| コンパイル使用メモリ | 161,660 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2025-02-02 14:11:37 |
| 合計ジャッジ時間 | 3,373 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 24 WA * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define pub push_back
#define el '\n'
const int mxn = 1e5+5;
int n;
string a[mxn];
void solve() {
cin >> n;
for(int i = 1; i <= n; i++) cin >> a[i];
string tmp;
for(int i = 1; i <= n; i++) {
cin >> tmp;
if (tmp == a[i]) continue;
cout << a[i];
break;
}
}
signed main() {
cin.tie(0) -> sync_with_stdio(0);
int t = 1;
// cin >> t;
for (int i = 1; i <= t; i++) solve();
}