結果
問題 |
No.547 未知の言語
|
ユーザー |
![]() |
提出日時 | 2019-10-05 12:25:21 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 346 bytes |
コンパイル時間 | 1,670 ms |
コンパイル使用メモリ | 168,704 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-05 13:31:42 |
合計ジャッジ時間 | 2,757 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 33 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef unsigned long long ull; typedef long long ll; 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]; for(int i=0; i<n; i++){ if(s[i]!=t[i]){ cout << i+1 << endl << s[i] << endl << t[i] << endl; } } return 0; }