結果
| 問題 | No.547 未知の言語 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-03-26 20:59:00 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 768 bytes |
| 記録 | |
| コンパイル時間 | 2,838 ms |
| コンパイル使用メモリ | 74,816 KB |
| 実行使用メモリ | 41,508 KB |
| 最終ジャッジ日時 | 2024-06-26 03:22:25 |
| 合計ジャッジ時間 | 8,293 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 33 |
ソースコード
package net.ipipip0129.yukicoder.no547;
import java.util.Arrays;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
//インプット
Scanner scan = new Scanner(System.in);
int wordCount = Integer.parseInt(scan.nextLine());
List<String> list_A = Arrays.asList(scan.nextLine().split(" "));
List<String> list_B = Arrays.asList(scan.nextLine().split(" "));
for (int i = 0; i < wordCount; i++) {
if (!list_A.get(i).equalsIgnoreCase(list_B.get(i))){
System.out.println(i);
System.out.println(list_A.get(i));
System.out.println(list_B.get(i));
}
}
}
}