結果
| 問題 |
No.547 未知の言語
|
| コンテスト | |
| ユーザー |
yutakahan
|
| 提出日時 | 2017-12-28 10:13:10 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 30 ms / 2,000 ms |
| コード長 | 496 bytes |
| コンパイル時間 | 869 ms |
| コンパイル使用メモリ | 107,328 KB |
| 実行使用メモリ | 26,268 KB |
| 最終ジャッジ日時 | 2024-06-26 02:56:16 |
| 合計ジャッジ時間 | 2,975 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
public class Hello{
public static void Main(){
int N = int.Parse(Console.ReadLine());
string[] input = Console.ReadLine().Split(' ');
string[] input2 = Console.ReadLine().Split(' ');
for(int x = 0;x < N;x++){
if(input[x] != input2[x]){
Console.WriteLine(x + 1);
Console.WriteLine(input[x]);
Console.WriteLine(input2[x]);
return;
}
}
}
}
yutakahan