結果
問題 | No.1799 Summer Day |
ユーザー |
|
提出日時 | 2023-07-21 17:21:43 |
言語 | C# (.NET 8.0.404) |
結果 |
WA
|
実行時間 | - |
コード長 | 455 bytes |
コンパイル時間 | 8,265 ms |
コンパイル使用メモリ | 168,664 KB |
実行使用メモリ | 185,304 KB |
最終ジャッジ日時 | 2024-09-21 19:05:49 |
合計ジャッジ時間 | 10,659 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 WA * 5 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (94 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
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<25){ Console.WriteLine("No"); } else{ Console.WriteLine("Yes"); } } }