結果
| 問題 | 
                            No.547 未知の言語
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2017-10-18 15:24:31 | 
| 言語 | C  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 377 bytes | 
| コンパイル時間 | 146 ms | 
| コンパイル使用メモリ | 28,672 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-06-26 02:51:43 | 
| 合計ジャッジ時間 | 4,024 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 5 WA * 4 RE * 2 TLE * 1 -- * 21 | 
ソースコード
#include <stdio.h>
#include <string.h>
int main() {
    int N, i;
    char S[N][20];
    char T[20];
    scanf("%d", &N);
    for (i = 0; i < N; i++) {
        scanf("%s", S[i]);
    }
    for (i = 0; i < N; i++) {
        scanf("%s", T);
        if (strcmp(S[i], T) != 0) {
            printf("%d\n%s\n%s\n", i+1, S[i], T);
            break;
        }
    }
    return 0;
}