結果
問題 | No.547 未知の言語 |
ユーザー |
![]() |
提出日時 | 2017-12-17 01:31:52 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 288 bytes |
コンパイル時間 | 1,668 ms |
コンパイル使用メモリ | 165,520 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-26 02:56:03 |
合計ジャッジ時間 | 2,616 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 33 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ char s[11][22]; char t[11][22]; int n; scanf("%d",&n); for(int i=0;i<n;i++)scanf("%s",s[i]); for(int i=0;i<n;i++)scanf("%s",t[i]); for(int i=0;i<n;i++)if(strcmp(s[i],t[i]))printf("%d%s%s",i+1,s[i],t[i]); return 0; }