結果

問題 No.547 未知の言語
ユーザー e869120e869120
提出日時 2017-07-28 22:21:38
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
AC  
実行時間 5 ms / 2,000 ms
コード長 273 bytes
コンパイル時間 1,650 ms
コンパイル使用メモリ 164,248 KB
実行使用メモリ 9,744 KB
最終ジャッジ日時 2023-09-08 08:58:52
合計ジャッジ時間 3,196 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 5 ms
9,576 KB
testcase_01 AC 5 ms
9,540 KB
testcase_02 AC 5 ms
9,744 KB
testcase_03 AC 5 ms
9,496 KB
testcase_04 AC 5 ms
9,536 KB
testcase_05 AC 5 ms
9,476 KB
testcase_06 AC 5 ms
9,552 KB
testcase_07 AC 5 ms
9,736 KB
testcase_08 AC 5 ms
9,512 KB
testcase_09 AC 5 ms
9,484 KB
testcase_10 AC 5 ms
9,492 KB
testcase_11 AC 4 ms
9,560 KB
testcase_12 AC 5 ms
9,516 KB
testcase_13 AC 5 ms
9,528 KB
testcase_14 AC 5 ms
9,576 KB
testcase_15 AC 5 ms
9,604 KB
testcase_16 AC 4 ms
9,484 KB
testcase_17 AC 5 ms
9,528 KB
testcase_18 AC 5 ms
9,596 KB
testcase_19 AC 5 ms
9,528 KB
testcase_20 AC 4 ms
9,744 KB
testcase_21 AC 4 ms
9,536 KB
testcase_22 AC 4 ms
9,616 KB
testcase_23 AC 5 ms
9,488 KB
testcase_24 AC 4 ms
9,740 KB
testcase_25 AC 5 ms
9,736 KB
testcase_26 AC 5 ms
9,480 KB
testcase_27 AC 5 ms
9,480 KB
testcase_28 AC 5 ms
9,740 KB
testcase_29 AC 5 ms
9,488 KB
testcase_30 AC 4 ms
9,588 KB
testcase_31 AC 5 ms
9,492 KB
testcase_32 AC 5 ms
9,564 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;    
string S[100000],T[100000];int n;
int main(){
    cin>>n;
    for(int i=0;i<n;i++)cin>>S[i];
    for(int i=0;i<n;i++)cin>>T[i];
    for(int i=0;i<n;i++){if(S[i]!=T[i])cout<<i+1<<endl<<S[i]<<endl<<T[i]<<endl;}
    return 0;
}
0