結果

問題 No.537 ユーザーID
ユーザー arbtarbt
提出日時 2017-09-24 21:22:22
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 398 ms / 2,000 ms
コード長 382 bytes
コンパイル時間 9,078 ms
コンパイル使用メモリ 429,116 KB
実行使用メモリ 62,496 KB
最終ジャッジ日時 2024-04-30 16:13:31
合計ジャッジ時間 21,047 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 284 ms
55,280 KB
testcase_01 AC 290 ms
55,328 KB
testcase_02 AC 286 ms
55,344 KB
testcase_03 AC 285 ms
55,180 KB
testcase_04 AC 284 ms
55,344 KB
testcase_05 AC 290 ms
55,268 KB
testcase_06 AC 291 ms
55,292 KB
testcase_07 AC 296 ms
55,172 KB
testcase_08 AC 284 ms
55,152 KB
testcase_09 AC 287 ms
55,264 KB
testcase_10 AC 283 ms
55,224 KB
testcase_11 AC 285 ms
55,256 KB
testcase_12 AC 287 ms
55,176 KB
testcase_13 AC 284 ms
55,300 KB
testcase_14 AC 278 ms
55,256 KB
testcase_15 AC 280 ms
55,252 KB
testcase_16 AC 286 ms
55,300 KB
testcase_17 AC 280 ms
55,168 KB
testcase_18 AC 298 ms
55,240 KB
testcase_19 AC 299 ms
55,200 KB
testcase_20 AC 296 ms
55,472 KB
testcase_21 AC 303 ms
55,524 KB
testcase_22 AC 305 ms
55,228 KB
testcase_23 AC 301 ms
55,284 KB
testcase_24 AC 291 ms
55,196 KB
testcase_25 AC 304 ms
55,528 KB
testcase_26 AC 306 ms
55,496 KB
testcase_27 AC 305 ms
55,152 KB
testcase_28 AC 369 ms
60,672 KB
testcase_29 AC 398 ms
59,944 KB
testcase_30 AC 390 ms
60,088 KB
testcase_31 AC 308 ms
55,344 KB
testcase_32 AC 301 ms
55,328 KB
testcase_33 AC 394 ms
62,496 KB
testcase_34 AC 309 ms
55,356 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:24:11: warning: parameter 'argv' is never used
fun main( argv : Array<String> ) {
          ^

ソースコード

diff #

import java.util.Scanner

//
fun _Do() {
    
    val N = scan.nextLong()
    
    val set = mutableSetOf<String>()
    var a = 1L
    while(a*a<=N){
        if(a*(N/a)==N) {
            set.add("$a${N/a}")
            set.add("${N/a}$a")
        }
        a+=1
    }
    
    println(set.size)
    
}

var scan = Scanner(System.`in`)
fun main( argv : Array<String> ) {
    _Do()
}
0