結果
| 問題 |
No.1799 Summer Day
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-21 17:19:02 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 457 bytes |
| コンパイル時間 | 7,653 ms |
| コンパイル使用メモリ | 165,680 KB |
| 実行使用メモリ | 182,832 KB |
| 最終ジャッジ日時 | 2024-09-21 19:03:09 |
| 合計ジャッジ時間 | 10,074 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 WA * 9 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (96 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<20+s){
Console.WriteLine("No");
}
else{
Console.WriteLine("Yes");
}
}
}