結果

問題 No.836 じょうよ
ユーザー MaboyMaboy
提出日時 2021-06-26 00:45:23
言語 Swift
(5.10.0)
結果
WA  
実行時間 -
コード長 146 bytes
コンパイル時間 1,227 ms
コンパイル使用メモリ 126,908 KB
実行使用メモリ 8,348 KB
最終ジャッジ日時 2023-09-07 13:40:41
合計ジャッジ時間 4,792 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
8,136 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 3 ms
8,176 KB
testcase_08 WA -
testcase_09 AC 3 ms
8,200 KB
testcase_10 WA -
testcase_11 AC 8 ms
8,180 KB
testcase_12 AC 11 ms
8,060 KB
testcase_13 AC 8 ms
8,192 KB
testcase_14 AC 4 ms
8,132 KB
testcase_15 AC 10 ms
8,236 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 8 ms
8,320 KB
testcase_19 WA -
testcase_20 AC 35 ms
8,192 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 4 ms
8,220 KB
testcase_27 AC 5 ms
8,132 KB
testcase_28 AC 8 ms
8,128 KB
testcase_29 AC 6 ms
8,132 KB
testcase_30 AC 5 ms
8,064 KB
testcase_31 AC 9 ms
8,140 KB
testcase_32 AC 9 ms
8,192 KB
testcase_33 AC 4 ms
8,132 KB
testcase_34 AC 7 ms
8,140 KB
testcase_35 AC 9 ms
8,156 KB
testcase_36 AC 34 ms
8,156 KB
testcase_37 AC 33 ms
8,132 KB
testcase_38 AC 48 ms
8,124 KB
testcase_39 AC 40 ms
8,252 KB
testcase_40 AC 77 ms
8,204 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

let n = readLine()!.split(separator: " ").map{Int($0)!}
var (a,b,c) = (n[0],n[1],n[2])
for i in 0..<c{
    print((b - i) / c - (a - 1 - i) / c)
}
0