結果
| 問題 | No.285 消費税2 |
| コンテスト | |
| ユーザー |
fkwnw3_1243
|
| 提出日時 | 2017-09-17 12:50:16 |
| 言語 | Java (openjdk 26.0.2.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 38 ms / 2,000 ms |
| + 96µs | |
| コード長 | 589 bytes |
| 記録 | |
| コンパイル時間 | 2,442 ms |
| コンパイル使用メモリ | 85,228 KB |
| 実行使用メモリ | 43,884 KB |
| 最終ジャッジ日時 | 2026-09-21 00:32:48 |
| 合計ジャッジ時間 | 5,475 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 26 |
ソースコード
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigInteger;
import static java.lang.System.in;
public class No285 {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(in));
BigInteger d= new BigInteger(reader.readLine());
String result = d.multiply(BigInteger.valueOf(108)).toString();
System.out.println(result.substring(0,result.length()-2) + "." + result.substring(result.length()-2,result.length()));
}
}
fkwnw3_1243