結果
| 問題 | No.547 未知の言語 |
| コンテスト | |
| ユーザー |
Kurichan0806
|
| 提出日時 | 2017-10-31 18:27:43 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 433 bytes |
| 記録 | |
| コンパイル時間 | 393 ms |
| コンパイル使用メモリ | 81,592 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2026-03-12 16:31:23 |
| 合計ジャッジ時間 | 1,399 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 |
ソースコード
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <utility>
using namespace std;
int main(void) {
int n;
cin >> n;
vector <pair<string, string>> str(n);
for (int i = 0; i < n; i++) {
cin >> str[i].first;
}
for (int i = 0; i < n; i++) {
cin >> str[i].second;
if (str[i].first != str[i].second)
cout << i + 1 << endl << str[i].first << endl << str[i].second << endl;
}
return 0;
}
Kurichan0806