結果

問題 No.543 命題
ユーザー byamibyami
提出日時 2017-11-02 07:50:47
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 364 bytes
コンパイル時間 1,740 ms
コンパイル使用メモリ 167,968 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-05-02 02:29:53
合計ジャッジ時間 1,812 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(int)(n);i++)
using namespace std;

int main(){
    int n;
    string s[10],t[10];
    cin >> n;
    rep(i,n)cin >> s[i];
    rep(i,n)cin >> t[i];

    rep(i,n) {
        if (s[i] != t[i]) {
            cout << i+1 << endl;
            cout << s[i] << endl;
            cout << t[i] << endl;
        }
    }
}
0