結果

問題 No.547 未知の言語
ユーザー aaaaaaiu
提出日時 2019-07-28 01:07:29
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 303 bytes
コンパイル時間 2,212 ms
コンパイル使用メモリ 193,096 KB
最終ジャッジ日時 2025-01-07 09:44:03
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main() {
    int n;
    cin >> n;
    string s[2*n];
    for (int i = 0; i < 2*n; i++) cin >> s[i];
    for (int i = 0; i < n; i++)
        if (s[i] != s[i+n]) cout << i+1 << endl << s[i] << endl << s[i+n] << endl;
    return 0;
}
0