結果
問題 |
No.882 約数倍数
|
ユーザー |
![]() |
提出日時 | 2019-10-16 14:53:22 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 24 ms / 500 ms |
コード長 | 441 bytes |
コンパイル時間 | 2,681 ms |
コンパイル使用メモリ | 104,764 KB |
実行使用メモリ | 25,876 KB |
最終ジャッジ日時 | 2024-06-12 23:51:03 |
合計ジャッジ時間 | 1,979 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 10 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; namespace ConsoleApp { class Program { static void Main(string[] args) { string[] N = Console.ReadLine().Split(' '); int A = int.Parse(N[0]); int B = int.Parse(N[1]); if(A % B != 0) { Console.WriteLine("NO"); } else { Console.WriteLine("YES"); } } } }