結果

問題 No.1223 I hate Golf
ユーザー 遭難者遭難者
提出日時 2020-10-13 11:31:15
言語 Java19
(openjdk 21)
結果
AC  
実行時間 113 ms / 2,000 ms
コード長 405 bytes
コンパイル時間 4,519 ms
コンパイル使用メモリ 72,392 KB
実行使用メモリ 55,884 KB
最終ジャッジ日時 2023-09-28 00:00:43
合計ジャッジ時間 6,869 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 104 ms
55,776 KB
testcase_01 AC 108 ms
55,608 KB
testcase_02 AC 112 ms
55,436 KB
testcase_03 AC 109 ms
55,384 KB
testcase_04 AC 104 ms
55,604 KB
testcase_05 AC 107 ms
55,620 KB
testcase_06 AC 109 ms
55,448 KB
testcase_07 AC 111 ms
55,784 KB
testcase_08 AC 113 ms
55,884 KB
testcase_09 AC 112 ms
55,656 KB
testcase_10 AC 107 ms
55,744 KB
testcase_11 AC 108 ms
53,572 KB
testcase_12 AC 111 ms
55,416 KB
testcase_13 AC 108 ms
53,252 KB
testcase_14 AC 108 ms
55,692 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.io.*;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		PrintWriter ou = new PrintWriter(System.out);
		int h = Integer.parseInt(sc.next());
		int a = Integer.parseInt(sc.next());
		long z = Long.parseLong(sc.next());
		if(Math.abs(h) > a * z) ou.println("No");
		else ou.println("Yes");
		ou.flush();
		sc.close();
	}
}
0