結果
問題 |
No.169 何分かかるの!?
|
ユーザー |
|
提出日時 | 2016-08-05 10:33:55 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 134 ms / 1,000 ms |
コード長 | 281 bytes |
コンパイル時間 | 3,180 ms |
コンパイル使用メモリ | 73,892 KB |
実行使用メモリ | 41,688 KB |
最終ジャッジ日時 | 2024-11-07 00:11:27 |
合計ジャッジ時間 | 7,257 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 22 |
ソースコード
import java.util.Scanner; public class No0169 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int k = sc.nextInt(); int s = sc.nextInt(); sc.close(); int ans = 0; ans = (int)((double)s / (100 - k) * 100); System.out.println(ans); } }