結果

問題 No.1223 I hate Golf
ユーザー YoshimikiYoshimiki
提出日時 2020-09-19 19:54:16
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 391 bytes
コンパイル時間 2,028 ms
コンパイル使用メモリ 72,112 KB
実行使用メモリ 56,176 KB
最終ジャッジ日時 2023-09-05 22:53:48
合計ジャッジ時間 4,916 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
55,920 KB
testcase_01 AC 121 ms
55,980 KB
testcase_02 AC 120 ms
55,792 KB
testcase_03 WA -
testcase_04 AC 121 ms
55,704 KB
testcase_05 WA -
testcase_06 AC 120 ms
55,704 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 125 ms
55,944 KB
testcase_10 AC 120 ms
55,412 KB
testcase_11 AC 120 ms
55,512 KB
testcase_12 AC 118 ms
56,004 KB
testcase_13 AC 123 ms
55,816 KB
testcase_14 AC 122 ms
55,684 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 = K * T;
	    if(maxDistance < N){
	        System.out.println("No");
	    }else{
	        System.out.println("Yes");
	    }
	}
}
0