結果
問題 |
No.373 かけ算と割った余り
|
ユーザー |
![]() |
提出日時 | 2017-05-26 16:39:12 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 255 bytes |
コンパイル時間 | 828 ms |
コンパイル使用メモリ | 111,664 KB |
実行使用メモリ | 27,020 KB |
最終ジャッジ日時 | 2024-09-19 20:07:21 |
合計ジャッジ時間 | 1,638 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 3 WA * 2 |
コンパイルメッセージ
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 Program { static void Main(string[] args) { int[] ABCD = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray(); Console.WriteLine(ABCD[0] * ABCD[1] * ABCD[2] % ABCD[3]); } }