結果
問題 | No.547 未知の言語 |
ユーザー |
|
提出日時 | 2017-08-15 19:18:24 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 234 bytes |
コンパイル時間 | 489 ms |
コンパイル使用メモリ | 56,124 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-26 02:36:43 |
合計ジャッジ時間 | 1,431 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 33 |
ソースコード
#include <iostream> #include <string> using namespace std; int main(void){ int n;string a[10],b; cin>>n; for(int i=0;i<n;i++)cin>>a[i]; for(int i=0;i<n;i++){ cin>>b; if(a[i]!=b){ cout<<i+1<<endl<<a[i]<<endl<<b<<endl; } } return 0; }