結果
| 問題 | No.251 大きな桁の復習問題(1) |
| コンテスト | |
| ユーザー |
AreTrash
|
| 提出日時 | 2016-06-12 22:43:09 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 366 bytes |
| 記録 | |
| コンパイル時間 | 570 ms |
| コンパイル使用メモリ | 103,680 KB |
| 実行使用メモリ | 53,292 KB |
| 最終ジャッジ日時 | 2026-04-25 16:23:35 |
| 合計ジャッジ時間 | 7,767 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 3 |
| other | AC * 7 WA * 2 TLE * 1 -- * 11 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
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 % P, M % (P - 1), P));
}
}
}
AreTrash