結果
| 問題 |
No.547 未知の言語
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-11-24 13:44:33 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 416 bytes |
| コンパイル時間 | 3,076 ms |
| コンパイル使用メモリ | 247,324 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-24 13:44:39 |
| 合計ジャッジ時間 | 4,189 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
| 外部呼び出し有り |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef int64_t ll;
void solve() {
ll n;
cin>>n;
vector<string> s(n);
for(ll i=0;i<n;i++){
cin>>s.at(i);
}
vector<string> t(n);
for(ll i=0;i<n;i++){
cin>>t.at(i);
}
for(ll i=0;i<n;i++){
if(s.at(i)!=t.at(i)){
cout<<i+1<<endl;
cout<<s.at(i)<<endl;
cout<<t.at(i)<<endl;
}
}
}
int main() { solve();system("pause"); }