結果

問題 No.1799 Summer Day
ユーザー 抹茶アイス抹茶アイス
提出日時 2023-07-21 17:19:02
言語 C#
(.NET 8.0.203)
結果
WA  
実行時間 -
コード長 457 bytes
コンパイル時間 6,938 ms
コンパイル使用メモリ 157,544 KB
実行使用メモリ 176,156 KB
最終ジャッジ日時 2023-10-21 17:48:45
合計ジャッジ時間 9,245 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 57 ms
30,516 KB
testcase_01 AC 57 ms
30,516 KB
testcase_02 AC 57 ms
30,516 KB
testcase_03 AC 57 ms
30,516 KB
testcase_04 AC 56 ms
30,516 KB
testcase_05 AC 57 ms
30,516 KB
testcase_06 AC 57 ms
30,516 KB
testcase_07 WA -
testcase_08 AC 58 ms
30,516 KB
testcase_09 AC 57 ms
30,516 KB
testcase_10 AC 57 ms
30,516 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 58 ms
30,516 KB
testcase_14 WA -
testcase_15 AC 57 ms
30,516 KB
testcase_16 WA -
testcase_17 AC 58 ms
30,516 KB
testcase_18 WA -
testcase_19 AC 57 ms
30,516 KB
testcase_20 AC 57 ms
30,516 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (102 ms)。
MSBuild のバージョン 17.7.3+8ec440e68 (.NET)
  main -> /home/judge/data/code/bin/Release/net7.0/main.dll
  main -> /home/judge/data/code/bin/Release/net7.0/publish/

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;
public class Program{
    public static void Main(){
        var line = Console.ReadLine().Split(' ');
        var s = double.Parse(line[0]);
        var n = double.Parse(line[1]);
        if(n/s>=30){
            Console.WriteLine("No");
        }
        else if(n<20+s){
            Console.WriteLine("No");
        }
        else{
            Console.WriteLine("Yes");
        }
    }
}
0