結果
問題 |
No.547 未知の言語
|
ユーザー |
![]() |
提出日時 | 2018-08-14 20:52:01 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 312 bytes |
コンパイル時間 | 563 ms |
コンパイル使用メモリ | 66,480 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-24 08:58:17 |
合計ジャッジ時間 | 1,656 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 33 |
ソースコード
#include <iostream> using namespace std; int main(void){ int n;cin>>n; string lst1[n],lst2[n]; for(int i=0;i<n;i++)cin>>lst1[i]; for(int i=0;i<n;i++)cin>>lst2[i]; for(int i=0;i<n;i++){ if(lst1[i]!=lst2[i]){ cout<<i+1<<endl<<lst1[i]<<endl<<lst2[i]<<endl; } } }