結果
| 問題 | No.1224 I hate Sqrt Inequality |
| コンテスト | |
| ユーザー |
xRS43BofaUEZ5gc
|
| 提出日時 | 2021-03-16 15:29:07 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
AC
|
| 実行時間 | 107 ms / 2,000 ms |
| コード長 | 477 bytes |
| 記録 | |
| コンパイル時間 | 3,951 ms |
| コンパイル使用メモリ | 82,700 KB |
| 実行使用メモリ | 49,768 KB |
| 最終ジャッジ日時 | 2026-05-08 08:40:02 |
| 合計ジャッジ時間 | 5,455 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
ソースコード
import java.math.BigDecimal;
import java.util.Scanner;
public class HelloWorld {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
BigDecimal bigA=sc.nextBigDecimal();
BigDecimal bigB=sc.nextBigDecimal();
try {
if (bigA.divide(bigB) != null)
System.out.println("No");
} catch (Exception e) {
System.out.println("Yes");
}
}
}
xRS43BofaUEZ5gc