結果
問題 | No.1223 I hate Golf |
ユーザー |
|
提出日時 | 2020-09-11 21:26:31 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 469 bytes |
コンパイル時間 | 758 ms |
コンパイル使用メモリ | 85,088 KB |
最終ジャッジ日時 | 2025-01-14 09:56:13 |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
#include <iostream>#include <iomanip>#include <vector>#include <algorithm>#include <utility>#include <string>#include <queue>#include <stack>using namespace std;typedef long long int ll;typedef pair<int, int> Pii;const ll mod = 1000000007;int main() {cin.tie(0);ios::sync_with_stdio(false);ll n, k, t;cin >> n >> k >> t;ll reachable = k * t;if (abs(n) <= reachable) cout << "Yes" << endl;else cout << "No" << endl;return 0;}