結果

問題 No.138 化石のバージョン
ユーザー PE11
提出日時 2018-02-02 10:48:29
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 436 bytes
コンパイル時間 1,196 ms
コンパイル使用メモリ 111,980 KB
実行使用メモリ 26,404 KB
最終ジャッジ日時 2024-12-31 00:23:51
合計ジャッジ時間 2,953 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 27 WA * 6
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Text;

class Program
{
	static void Main(string[] args)
	{
		No138.Proc();
	}
}

public class No138
{
	public static void Proc()
	{
		int OldVersion = Convert.ToInt32(Console.ReadLine().Replace(".", ""));
		int Version = Convert.ToInt32(Console.ReadLine().Replace(".", ""));

		if (OldVersion >= Version)
			Console.WriteLine("YES");
		else
			Console.WriteLine("NO");
	}
}

0