結果

問題 No.882 約数倍数
ユーザー chike_pluschike_plus
提出日時 2019-09-18 13:02:04
言語 F#
(F# 4.0)
結果
AC  
実行時間 56 ms / 500 ms
コード長 183 bytes
コンパイル時間 4,581 ms
コンパイル使用メモリ 157,444 KB
実行使用メモリ 24,256 KB
最終ジャッジ日時 2023-09-22 08:47:24
合計ジャッジ時間 6,127 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
22,236 KB
testcase_01 AC 55 ms
22,008 KB
testcase_02 AC 56 ms
22,332 KB
testcase_03 AC 55 ms
20,196 KB
testcase_04 AC 55 ms
22,192 KB
testcase_05 AC 56 ms
22,284 KB
testcase_06 AC 54 ms
22,204 KB
testcase_07 AC 55 ms
24,256 KB
testcase_08 AC 55 ms
24,112 KB
testcase_09 AC 55 ms
22,312 KB
testcase_10 AC 55 ms
22,212 KB
testcase_11 AC 55 ms
24,188 KB
testcase_12 AC 54 ms
22,216 KB
testcase_13 AC 55 ms
24,236 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let argv = stdin.ReadLine().Split(' ')
if argv |> Array.length > 1 then
  let A, B =  argv.[0] |> int , argv.[1] |> int
  
  if A % B = 0 then "YES"
  else "NO"
  |> stdout.WriteLine
0