結果

問題 No.251 大きな桁の復習問題(1)
ユーザー AreTrashAreTrash
提出日時 2016-06-12 22:39:08
言語 C#(csc)
(csc 3.9.0)
結果
TLE  
実行時間 -
コード長 352 bytes
コンパイル時間 1,812 ms
コンパイル使用メモリ 108,484 KB
実行使用メモリ 61,224 KB
最終ジャッジ日時 2024-04-17 19:00:28
合計ジャッジ時間 7,710 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
24,688 KB
testcase_01 AC 33 ms
26,864 KB
testcase_02 AC 33 ms
22,580 KB
testcase_03 AC 33 ms
24,808 KB
testcase_04 AC 33 ms
24,804 KB
testcase_05 AC 32 ms
24,812 KB
testcase_06 AC 33 ms
24,304 KB
testcase_07 AC 32 ms
26,720 KB
testcase_08 AC 32 ms
24,688 KB
testcase_09 TLE -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Numerics;

namespace No251{
    public class Program{
        public static void Main(string[] args){
            var N = BigInteger.Parse(Console.ReadLine());
            var M = BigInteger.Parse(Console.ReadLine());
            var P = 129402307;
            Console.WriteLine(BigInteger.ModPow(N, M, P));
        }
    }
}
0