結果

問題 No.547 未知の言語
ユーザー hoge
提出日時 2017-07-30 09:18:10
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 253 bytes
コンパイル時間 1,494 ms
コンパイル使用メモリ 158,452 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-26 02:22:35
合計ジャッジ時間 2,396 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11 WA * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

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