結果

問題 No.1224 I hate Sqrt Inequality
ユーザー xRS43BofaUEZ5gc
提出日時 2021-03-16 15:29:07
言語 Java
(openjdk 23)
結果
AC  
実行時間 147 ms / 2,000 ms
コード長 477 bytes
コンパイル時間 3,559 ms
コンパイル使用メモリ 74,972 KB
実行使用メモリ 41,812 KB
最終ジャッジ日時 2024-11-08 01:29:35
合計ジャッジ時間 6,715 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

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");
				}


	    	}

	    }
0