結果
問題 | No.547 未知の言語 |
ユーザー |
|
提出日時 | 2018-01-01 14:02:24 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 411 bytes |
コンパイル時間 | 1,838 ms |
コンパイル使用メモリ | 169,336 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-26 02:56:43 |
合計ジャッジ時間 | 2,429 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 33 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define REP(i, n) for(int i = 0; i < n; i++) int main() { ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; vector<string> s(n),t(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 << s[i] << endl << t[i] << endl; return 0; } } }