結果
問題 | No.169 何分かかるの!? |
ユーザー |
![]() |
提出日時 | 2015-12-13 14:50:04 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 55 ms / 1,000 ms |
コード長 | 424 bytes |
コンパイル時間 | 2,238 ms |
コンパイル使用メモリ | 75,156 KB |
実行使用メモリ | 50,568 KB |
最終ジャッジ日時 | 2024-09-15 11:41:09 |
合計ジャッジ時間 | 4,713 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 22 |
ソースコード
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); try { int K = Integer.parseInt(read.readLine()); int S = Integer.parseInt(read.readLine()); System.out.println((long)(S / ((100.0 - K) / 100))); } catch (Exception e) { e.printStackTrace(); } } }