結果

問題 No.46 はじめのn歩
ユーザー uchida_tuchida_t
提出日時 2023-04-10 12:39:00
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 325 ms / 5,000 ms
コード長 157 bytes
コンパイル時間 12,762 ms
コンパイル使用メモリ 430,812 KB
実行使用メモリ 57,012 KB
最終ジャッジ日時 2024-04-15 18:28:06
合計ジャッジ時間 16,932 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 324 ms
56,724 KB
testcase_01 AC 325 ms
56,680 KB
testcase_02 AC 322 ms
56,660 KB
testcase_03 AC 321 ms
56,968 KB
testcase_04 AC 323 ms
56,792 KB
testcase_05 AC 317 ms
57,012 KB
testcase_06 AC 319 ms
56,740 KB
testcase_07 AC 317 ms
56,912 KB
testcase_08 AC 321 ms
56,940 KB
testcase_09 AC 323 ms
56,764 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args: Array<String>){
         ^

ソースコード

diff #

fun main(args: Array<String>){
	var (a,b)=readLine()!!.split(" ").map(String::toInt)
	if (b % a > 0) {
		println((b / a) + 1)
	} else {
		println(b / a)
	}
}
0