結果
問題 |
No.446 ゆきこーだーの雨と雪 (1)
|
ユーザー |
|
提出日時 | 2017-03-20 00:50:58 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 713 bytes |
コンパイル時間 | 890 ms |
コンパイル使用メモリ | 106,868 KB |
実行使用メモリ | 25,812 KB |
最終ジャッジ日時 | 2024-07-04 23:40:30 |
合計ジャッジ時間 | 1,975 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 11 WA * 2 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; namespace yukicoder { class Program { static void Main(string[] args) { string x = Console.ReadLine(); string y = Console.ReadLine(); int A, B; if(int.TryParse(x,out A) && int.TryParse(y,out B)) { if((A <= 12345) && (B <= 12345)) { Console.WriteLine("{0}", "OK"); } else { Console.WriteLine("{0}", "NG"); } } else { Console.WriteLine("{0}", "NG"); } } } }