結果
| 問題 |
No.547 未知の言語
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-08-03 21:05:06 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 381 bytes |
| コンパイル時間 | 959 ms |
| コンパイル使用メモリ | 110,464 KB |
| 実行使用メモリ | 26,908 KB |
| 最終ジャッジ日時 | 2024-06-26 02:27:04 |
| 合計ジャッジ時間 | 3,198 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 33 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
using System.Linq;
class Program
{
static void Main(string[] args)
{
int N = int.Parse(Console.ReadLine());
var S = Console.ReadLine().Split().ToArray();
var T = Console.ReadLine().Split().ToArray();
for (int i = 1; i <= N; i++)
{
if (S[i] != T[i])
{
Console.WriteLine(i);
Console.WriteLine(S[i]);
Console.WriteLine(T[i]);
}
}
}
}