結果
問題 | No.169 何分かかるの!? |
ユーザー | javy |
提出日時 | 2015-11-28 01:57:46 |
言語 | Kotlin (1.9.23) |
結果 |
AC
|
実行時間 | 256 ms / 1,000 ms |
コード長 | 975 bytes |
コンパイル時間 | 9,533 ms |
コンパイル使用メモリ | 435,248 KB |
実行使用メモリ | 54,308 KB |
最終ジャッジ日時 | 2024-04-30 10:26:08 |
合計ジャッジ時間 | 16,471 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 239 ms
54,132 KB |
testcase_01 | AC | 241 ms
54,156 KB |
testcase_02 | AC | 245 ms
54,132 KB |
testcase_03 | AC | 237 ms
54,124 KB |
testcase_04 | AC | 247 ms
54,304 KB |
testcase_05 | AC | 244 ms
54,100 KB |
testcase_06 | AC | 236 ms
54,252 KB |
testcase_07 | AC | 243 ms
54,224 KB |
testcase_08 | AC | 244 ms
54,216 KB |
testcase_09 | AC | 241 ms
54,144 KB |
testcase_10 | AC | 245 ms
54,264 KB |
testcase_11 | AC | 245 ms
54,252 KB |
testcase_12 | AC | 245 ms
54,236 KB |
testcase_13 | AC | 256 ms
54,196 KB |
testcase_14 | AC | 252 ms
54,220 KB |
testcase_15 | AC | 247 ms
54,144 KB |
testcase_16 | AC | 237 ms
54,308 KB |
testcase_17 | AC | 243 ms
54,240 KB |
testcase_18 | AC | 240 ms
54,288 KB |
testcase_19 | AC | 242 ms
54,300 KB |
testcase_20 | AC | 241 ms
54,040 KB |
testcase_21 | AC | 241 ms
54,288 KB |
testcase_22 | AC | 237 ms
54,276 KB |
testcase_23 | AC | 242 ms
54,128 KB |
コンパイルメッセージ
Main.kt:6:10: warning: parameter 'args' is never used fun main(args: Array<String>) { ^
ソースコード
package Yukicoder /** * Created by hichikawa on 2015/11/12. */ fun main(args: Array<String>) { fun readLineLongArray(): List<Long> { val str = readLine() as String val arrStr = str.split(" ") val ret = arrStr.map { it.toLong() } return ret } fun readLineLong(): Long { val str = readLine() as String return str.toLong() } fun readLineInt(): Int { val str = readLine() as String return str.toInt() } fun readLineIntArray() : List<Int> { val str = readLine() as String val arrStr = str.split(" ") val ret = arrStr.map { it.toInt() } return ret } fun readLineDoubleArray(): List<Double> { val str = readLine() as String val arrStr = str.split(" ") val ret = arrStr.map { it.toDouble() } return ret } val percent = readLineLong() val value = readLineLong() println(value*100/(100-percent)) }