結果

問題 No.1799 Summer Day
ユーザー takumat
提出日時 2022-01-07 21:29:59
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 17 ms / 2,000 ms
コード長 996 bytes
コンパイル時間 3,989 ms
コンパイル使用メモリ 249,300 KB
最終ジャッジ日時 2025-01-27 09:11:39
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#include <atcoder/all>

typedef __uint128_t ULLONG;
typedef long long LLONG;
static const LLONG MOD_NUM = 1000000007LL;//998244353LL;
static const LLONG INF_NUM = 1e18;
template<class _T> static void get(_T& a) {
	std::cin >> a;
}
template<class _T> static void get(_T& a, _T& b) {
	std::cin >> a >> b;
}
template<class _T> static void get(_T& a, _T& b, _T& c) {
	std::cin >> a >> b >> c;
}
template <class _T> static _T tp_abs(_T a) {
	if (a < (_T)0) {
		a *= (_T)-1;
	}
	return a;
}
template <class _T> static _T tp_pow(int x, int exp)
{
	_T ans = 1;
	_T base = x;
	while (exp > 0) {
		if (exp & 1) {
			ans = (ans * base);
		}
		base = (base * base);
		exp >>= 1;
	}
	return ans;
}

static void task();

int main()
{
	task();
	fflush(stdout);
	return 0;
}

static void task()
{
	LLONG N, S;
	get(N, S);

	LLONG div = S / N;
	div += (S % N) ? 1 : 0;
	if(div >= 30) {
		printf("No\n");
		return;
	}
	else if(S < 25) {
		printf("No\n");
		return;
	}
	printf("Yes\n");
}
0