結果
| 問題 |
No.32 貯金箱の憂鬱
|
| コンテスト | |
| ユーザー |
バカらっく
|
| 提出日時 | 2019-09-07 11:26:21 |
| 言語 | Kotlin (2.1.0) |
| 結果 |
AC
|
| 実行時間 | 308 ms / 5,000 ms |
| コード長 | 368 bytes |
| コンパイル時間 | 11,126 ms |
| コンパイル使用メモリ | 421,508 KB |
| 実行使用メモリ | 54,380 KB |
| 最終ジャッジ日時 | 2024-07-23 07:41:14 |
| 合計ジャッジ時間 | 15,707 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
コンパイルメッセージ
Main.kt:3:10: warning: parameter 'arr' is never used
fun main(arr:Array<String>) {
^
ソースコード
import java.util.*
fun main(arr:Array<String>) {
var inBox100 = readLine()!!.toInt()
var inBox25 = readLine()!!.toInt()
var inBox1 = readLine()!!.toInt()
inBox25 = inBox25 + inBox1 / 25
inBox1 = inBox1 % 25
inBox100 = inBox100 + inBox25 / 4
inBox25 = inBox25 % 4
inBox100 = inBox100 % 10
println(inBox100 + inBox25 + inBox1)
}
バカらっく