結果
問題 | No.1223 I hate Golf |
ユーザー |
|
提出日時 | 2020-09-11 21:23:22 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 665 bytes |
コンパイル時間 | 2,002 ms |
コンパイル使用メモリ | 193,160 KB |
最終ジャッジ日時 | 2025-01-14 09:50:05 |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
#include"bits/stdc++.h"using namespace std;#define REP(k,m,n) for(int (k)=(m);(k)<(n);(k)++)#define rep(i,n) REP((i),0,(n))using ll = long long;using pll = pair<ll, ll>;using tp3 = tuple<ll, ll, ll>;constexpr int INF = 1 << 28;constexpr ll INFL = 1ll << 60;constexpr int dh[4] = { 0,1,0,-1 };constexpr int dw[4] = { -1,0,1,0 };bool isin(const int H, const int W, const int h, const int w) {return 0 <= h && h < H && 0 <= w && w < W;}// ============ template finished ============int main(){int N, K, T;cin >> N >> K >> T;N = abs(N);int need = ceil(1.*N / K);cout << (need <= T ? "Yes" : "No") << endl;return 0;}