結果
問題 |
No.1223 I hate Golf
|
ユーザー |
|
提出日時 | 2020-09-19 19:57:34 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 137 ms / 2,000 ms |
コード長 | 398 bytes |
コンパイル時間 | 2,484 ms |
コンパイル使用メモリ | 75,272 KB |
実行使用メモリ | 54,372 KB |
最終ジャッジ日時 | 2024-06-23 18:15:47 |
合計ジャッジ時間 | 4,746 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
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"); } } }