結果
問題 | No.373 かけ算と割った余り |
ユーザー | fuzuir |
提出日時 | 2016-10-13 22:40:52 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 267 bytes |
コンパイル時間 | 925 ms |
コンパイル使用メモリ | 114,020 KB |
実行使用メモリ | 27,252 KB |
最終ジャッジ日時 | 2024-05-01 22:01:07 |
合計ジャッジ時間 | 1,389 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 25 ms
23,220 KB |
testcase_01 | AC | 24 ms
27,252 KB |
testcase_02 | AC | 24 ms
24,960 KB |
testcase_03 | AC | 23 ms
25,208 KB |
testcase_04 | AC | 24 ms
27,248 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Collections; using System.Linq; class Program { static void Main() { int[] xs = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray(); Console.WriteLine(((xs[0] % xs[3]) * (xs[1] % xs[3]) * (xs[2] % xs[3])) % xs[3]); } }