結果

問題 No.1223 I hate Golf
ユーザー YoshimikiYoshimiki
提出日時 2020-09-19 19:57:34
言語 Java21
(openjdk 21)
結果
AC  
実行時間 123 ms / 2,000 ms
コード長 398 bytes
コンパイル時間 2,001 ms
コンパイル使用メモリ 71,384 KB
実行使用メモリ 57,824 KB
最終ジャッジ日時 2023-09-05 22:53:53
合計ジャッジ時間 4,733 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
56,312 KB
testcase_01 AC 117 ms
56,032 KB
testcase_02 AC 118 ms
56,332 KB
testcase_03 AC 119 ms
55,844 KB
testcase_04 AC 117 ms
55,484 KB
testcase_05 AC 117 ms
55,656 KB
testcase_06 AC 120 ms
55,964 KB
testcase_07 AC 118 ms
55,760 KB
testcase_08 AC 119 ms
55,692 KB
testcase_09 AC 119 ms
56,232 KB
testcase_10 AC 121 ms
56,304 KB
testcase_11 AC 120 ms
56,104 KB
testcase_12 AC 123 ms
56,004 KB
testcase_13 AC 117 ms
55,752 KB
testcase_14 AC 118 ms
57,824 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
	    Scanner stdIn = new Scanner(System.in);
	    int N = Math.abs(stdIn.nextInt());
	    int K = stdIn.nextInt();
	    int T = stdIn.nextInt();
	    
	    long maxDistance = (long) K * T;
	    if(maxDistance < N){
	        System.out.println("No");
	    }else{
	        System.out.println("Yes");
	    }
	}
}
0