結果

問題 No.547 未知の言語
ユーザー mytkyt
提出日時 2018-03-28 23:21:56
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 349 bytes
コンパイル時間 1,122 ms
コンパイル使用メモリ 56,560 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-26 03:22:36
合計ジャッジ時間 2,071 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>

using namespace std;

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

}
0