結果
問題 | No.373 かけ算と割った余り |
ユーザー | bayashiko_r |
提出日時 | 2018-11-28 00:59:00 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 378 bytes |
コンパイル時間 | 2,050 ms |
コンパイル使用メモリ | 101,424 KB |
実行使用メモリ | 22,876 KB |
最終ジャッジ日時 | 2023-09-07 03:16:12 |
合計ジャッジ時間 | 3,147 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 56 ms
20,664 KB |
testcase_01 | AC | 56 ms
20,824 KB |
testcase_02 | AC | 56 ms
20,816 KB |
testcase_03 | AC | 57 ms
20,872 KB |
testcase_04 | AC | 58 ms
22,864 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; class Program { static void Main(string[] args) { //入力 string s = Console.ReadLine(); string[] t = s.Split(' '); ulong A = ulong.Parse(t[0]); ulong B = ulong.Parse(t[1]); ulong C = ulong.Parse(t[2]); ulong D = ulong.Parse(t[3]); Console.WriteLine((A % D) * (B % D) * (C % D) % D); } }