結果
問題 |
No.795 Restrictions!!!!!!!!!!!!!!
|
ユーザー |
|
提出日時 | 2020-03-02 03:08:29 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 355 bytes |
コンパイル時間 | 833 ms |
コンパイル使用メモリ | 102,528 KB |
実行使用メモリ | 17,536 KB |
最終ジャッジ日時 | 2024-10-13 20:54:28 |
合計ジャッジ時間 | 2,268 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 20 |
コンパイルメッセージ
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 hun = int.Parse(Console.ReadLine()); int ten = int.Parse(Console.ReadLine()); if((hun%2==1 && hun%2*10>ten) || ten%2==1) Console.WriteLine("No"); else// if(hun%2<ten && ten%2==0) Console.WriteLine("Yes"); } }