結果
| 問題 |
No.251 大きな桁の復習問題(1)
|
| コンテスト | |
| ユーザー |
AreTrash
|
| 提出日時 | 2016-06-12 22:39:08 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 352 bytes |
| コンパイル時間 | 1,813 ms |
| コンパイル使用メモリ | 101,376 KB |
| 実行使用メモリ | 64,168 KB |
| 最終ジャッジ日時 | 2024-10-09 13:06:45 |
| 合計ジャッジ時間 | 7,929 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 3 |
| other | AC * 9 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, M, P));
}
}
}
AreTrash