結果

問題 No.1468 Colourful Pastel
ユーザー Notch Apple
提出日時 2025-02-02 14:11:32
言語 C++14
(gcc 13.3.0 + boost 1.87.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
権限があれば一括ダウンロードができます

ソースコード

diff #

#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();
}
0