結果
| 問題 |
No.547 未知の言語
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-03-31 23:50:32 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 539 bytes |
| コンパイル時間 | 845 ms |
| コンパイル使用メモリ | 77,344 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-22 16:57:17 |
| 合計ジャッジ時間 | 2,310 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 |
ソースコード
#include <cstdio>
#include <cstdlib>
#include <cstddef>
#include <vector>
#include <algorithm>
#include <cmath>
#include <string>
#include <iostream>
#include <iomanip>
int main(void)
{
int n;
std::string a;
std::vector<std::string> s;
std::cin >> n;
for(int i = 0; i < n; i++){
std::cin >> a;
s.push_back(a);
}
for(int i = 0; i < n; i++){
std::cin >> a;
if(a != s[i]){
std::cout << i + 1 << std::endl << s[i] << std::endl << a << std::endl;
}
}
return 0;
}