結果
問題 |
No.547 未知の言語
|
ユーザー |
![]() |
提出日時 | 2017-08-07 18:34:43 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 333 bytes |
コンパイル時間 | 297 ms |
コンパイル使用メモリ | 31,744 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-26 02:29:58 |
合計ジャッジ時間 | 1,523 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 WA * 19 |
ソースコード
#include <cstdio> #include <cstring> int main(){ int n; scanf("%d", &n); char s[n][12]; char t[n][12]; 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\n%s\n%s\n", i+1, s[i], t[i]); return 0; } } }