結果
問題 |
No.547 未知の言語
|
ユーザー |
![]() |
提出日時 | 2019-03-27 19:30:54 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 470 bytes |
コンパイル時間 | 654 ms |
コンパイル使用メモリ | 71,272 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-11 02:24:45 |
合計ジャッジ時間 | 1,830 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 33 |
ソースコード
#include <iostream> #include <vector> using namespace std; vector<string> s, t; int main() { int n; cin >> n; for (int i = 0; i < n; i++) { string a; cin >> a; s.push_back(a); } for (int i = 0; i < n; i++) { string a; cin >> a; if (a != s[i]) { cout << i + 1 << endl; cout << s[i] << endl; cout << a << endl; return 0; } } }