結果

問題 No.1223 I hate Golf
ユーザー takutaku
提出日時 2020-10-05 14:26:34
言語 Java
(openjdk 23)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 508 bytes
コンパイル時間 4,766 ms
コンパイル使用メモリ 74,240 KB
実行使用メモリ 41,252 KB
最終ジャッジ日時 2024-07-19 20:29:45
合計ジャッジ時間 4,267 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        Long n = sc.nextLong();
        Long k = sc.nextLong();
        Long t = sc.nextLong();
        
        Long distance = k * t;
        
        if(n < 0) {
            n = -n;
        }
        
        if(distance < n) {
            System.out.println("No");
        }else {
            System.out.println("Yes");
        }
        
    }
}
0