結果
| 問題 |
No.547 未知の言語
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-03-26 20:59:58 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 127 ms / 2,000 ms |
| コード長 | 772 bytes |
| コンパイル時間 | 2,510 ms |
| コンパイル使用メモリ | 75,596 KB |
| 実行使用メモリ | 41,584 KB |
| 最終ジャッジ日時 | 2024-06-26 03:22:34 |
| 合計ジャッジ時間 | 7,230 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 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 + 1);
System.out.println(list_A.get(i));
System.out.println(list_B.get(i));
}
}
}
}