結果

問題 No.547 未知の言語
ユーザー trineutron
提出日時 2019-09-25 15:59:39
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 371 bytes
コンパイル時間 1,704 ms
コンパイル使用メモリ 169,956 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-22 07:26:14
合計ジャッジ時間 2,707 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
    int n;
    cin >> n;
    vector<string> s(n), t(n);
    for (int i = 0; i < n; i++) cin >> s.at(i);
    for (int i = 0; i < n; i++) cin >> t.at(i);
    for (int i = 0; i < n; i++) {
        if (s.at(i) != t.at(i)) {
            cout << s.at(i) << endl;
            cout << t.at(i) << endl;
        }
    }
}
0