結果
| 問題 | No.858 わり算 |
| コンテスト | |
| ユーザー |
rabi
|
| 提出日時 | 2019-08-15 14:23:14 |
| 言語 | Java (openjdk 27.0.1.0.3 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 76 ms / 2,000 ms |
| + 791µs | |
| コード長 | 522 bytes |
| 記録 | |
| コンパイル時間 | 2,003 ms |
| コンパイル使用メモリ | 93,008 KB |
| 実行使用メモリ | 46,916 KB |
| 最終ジャッジ日時 | 2026-10-24 01:17:06 |
| 合計ジャッジ時間 | 3,872 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge6_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 |
ソースコード
import java.math.BigDecimal;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
class Main {
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] ary = br.readLine().split(" ");
BigDecimal a = new BigDecimal(ary[0]);
BigDecimal b = new BigDecimal(ary[1]);
System.out.println(a.divide(b, 50, BigDecimal.ROUND_DOWN).toPlainString());
}
}
rabi