結果
問題 |
No.547 未知の言語
|
ユーザー |
|
提出日時 | 2019-05-02 07:59:40 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 367 bytes |
コンパイル時間 | 648 ms |
コンパイル使用メモリ | 57,516 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-31 13:09:36 |
合計ジャッジ時間 | 1,941 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 33 |
ソースコード
#include <iostream> #include <string> using namespace std; int main(){ int N,M,N2; string S[10],T[10]; cin>>N; M=0; N2=N; while(N!=0){ cin>>S[M]; N--; M++; } M=0; while(N2!=0){ cin>>T[M]; N2--; M++; } N=0; N2=0; while(N2==0){ if(S[N]!=T[N]){ cout<<N+1<<endl; cout<<S[N]<<endl; cout<<T[N]<<endl; N2=1; } N++; } return 0; }