結果

問題 No.1799 Summer Day
ユーザー V_Melville
提出日時 2022-01-07 22:16:14
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 254 bytes
コンパイル時間 2,851 ms
コンパイル使用メモリ 242,616 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-14 08:50:08
合計ジャッジ時間 3,708 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 15 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using std::cin;
using std::cout;

int main() {
	int n, s;
	cin >> n >> s;
	
	if (n == 1) {
		if (25 <= s and s < 30) puts("Yes");
		else puts("No"); 
		return 0;
	}
	
	puts(s/29 <= n and s/25 <= n ? "Yes" : "No");
	
	return 0;
}
0