結果
| 問題 |
No.547 未知の言語
|
| コンテスト | |
| ユーザー |
hiyokko2
|
| 提出日時 | 2017-07-28 22:23:21 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 498 bytes |
| コンパイル時間 | 1,418 ms |
| コンパイル使用メモリ | 161,028 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-26 02:08:18 |
| 合計ジャッジ時間 | 2,697 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 |
ソースコード
#include <bits/stdc++.h>
#define FOR(i,bg,ed) for(ll i=(bg);i<(ed);i++)
#define REP(i,n) FOR(i,0,n)
#define MOD 1000000007
//#define int long long
using namespace std;
typedef long long ll;
typedef vector<vector<ll>> mat;
const int INF = 1e9;
signed main()
{
int N;
string S[15], T[15];
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;
}
}
hiyokko2