結果
| 問題 | 
                            No.1223 I hate Golf
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2020-10-05 14:19:43 | 
| 言語 | Java  (openjdk 23)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 573 bytes | 
| コンパイル時間 | 3,029 ms | 
| コンパイル使用メモリ | 83,336 KB | 
| 実行使用メモリ | 41,396 KB | 
| 最終ジャッジ日時 | 2024-07-19 20:29:31 | 
| 合計ジャッジ時間 | 5,577 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 8 WA * 4 | 
ソースコード
import java.util.*;
public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int k = sc.nextInt();
        int t = sc.nextInt();
        
        int distance = 0;
        for(int i = 0; i < t; i++) {
            distance += k;
        }
        
        if(n < 0) {
            n = -n;
        }
        
        
        if(distance >= n) {
            System.out.println("Yes");
        }else {
            System.out.println("No");
        }
    }
}