結果
| 問題 |
No.1799 Summer Day
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-21 17:23:44 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
AC
|
| 実行時間 | 58 ms / 2,000 ms |
| コード長 | 454 bytes |
| コンパイル時間 | 14,018 ms |
| コンパイル使用メモリ | 165,632 KB |
| 実行使用メモリ | 182,480 KB |
| 最終ジャッジ日時 | 2024-09-21 19:07:55 |
| 合計ジャッジ時間 | 9,984 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (133 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>29){
Console.WriteLine("No");
}
else if(n<25){
Console.WriteLine("No");
}
else{
Console.WriteLine("Yes");
}
}
}