結果
問題 |
No.166 マス埋めゲーム
|
ユーザー |
![]() |
提出日時 | 2018-09-25 18:28:50 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 289 bytes |
コンパイル時間 | 1,337 ms |
コンパイル使用メモリ | 111,960 KB |
実行使用メモリ | 27,380 KB |
最終ジャッジ日時 | 2024-10-05 07:20:13 |
合計ジャッジ時間 | 2,733 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 10 WA * 5 RE * 5 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Linq; class No166{ static void Main(){ var num=Console.ReadLine().Split(' ').Select(x=>Int32.Parse(x)).ToArray(); var masu=num[0]*num[1]; var ans=(masu==num[3]||masu%num[2]==num[3])?"YES":"NO"; Console.WriteLine(ans); } }