結果

問題 No.747 循環小数N桁目 Hard
ユーザー bluemeganebluemegane
提出日時 2018-10-20 07:57:27
言語 C#(csc)
(csc 3.9.0)
結果
TLE  
実行時間 -
コード長 314 bytes
コンパイル時間 1,965 ms
コンパイル使用メモリ 102,016 KB
実行使用メモリ 61,624 KB
最終ジャッジ日時 2024-04-29 19:25:03
合計ジャッジ時間 16,068 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
23,552 KB
testcase_01 AC 25 ms
18,048 KB
testcase_02 AC 26 ms
18,304 KB
testcase_03 AC 28 ms
17,920 KB
testcase_04 AC 24 ms
18,176 KB
testcase_05 AC 26 ms
18,176 KB
testcase_06 AC 25 ms
18,176 KB
testcase_07 AC 24 ms
17,920 KB
testcase_08 AC 25 ms
18,176 KB
testcase_09 AC 25 ms
18,048 KB
testcase_10 AC 27 ms
18,048 KB
testcase_11 AC 27 ms
18,304 KB
testcase_12 AC 26 ms
18,176 KB
testcase_13 AC 26 ms
18,048 KB
testcase_14 AC 27 ms
17,920 KB
testcase_15 AC 26 ms
18,304 KB
testcase_16 AC 25 ms
18,304 KB
testcase_17 AC 26 ms
18,048 KB
testcase_18 AC 26 ms
18,176 KB
testcase_19 AC 25 ms
17,920 KB
testcase_20 AC 24 ms
18,048 KB
testcase_21 AC 26 ms
17,920 KB
testcase_22 AC 27 ms
18,048 KB
testcase_23 AC 26 ms
18,176 KB
testcase_24 AC 26 ms
18,176 KB
testcase_25 AC 26 ms
18,304 KB
testcase_26 AC 26 ms
18,048 KB
testcase_27 AC 27 ms
17,920 KB
testcase_28 AC 27 ms
18,048 KB
testcase_29 AC 26 ms
18,176 KB
testcase_30 AC 27 ms
18,176 KB
testcase_31 AC 27 ms
18,048 KB
testcase_32 AC 27 ms
18,304 KB
testcase_33 AC 1,947 ms
46,036 KB
testcase_34 AC 166 ms
22,128 KB
testcase_35 AC 446 ms
45,812 KB
testcase_36 AC 1,195 ms
45,932 KB
testcase_37 AC 59 ms
22,400 KB
testcase_38 AC 506 ms
46,072 KB
testcase_39 AC 325 ms
46,080 KB
testcase_40 TLE -
testcase_41 TLE -
testcase_42 AC 1,958 ms
46,188 KB
testcase_43 AC 414 ms
45,968 KB
testcase_44 AC 1,346 ms
46,296 KB
testcase_45 AC 1,727 ms
45,972 KB
testcase_46 AC 1,495 ms
45,980 KB
testcase_47 AC 1,761 ms
46,084 KB
testcase_48 AC 863 ms
45,920 KB
testcase_49 AC 1,100 ms
45,920 KB
testcase_50 AC 759 ms
45,816 KB
testcase_51 AC 832 ms
45,788 KB
testcase_52 AC 153 ms
22,012 KB
testcase_53 TLE -
testcase_54 -- -
testcase_55 -- -
testcase_56 -- -
testcase_57 -- -
testcase_58 -- -
testcase_59 -- -
testcase_60 -- -
testcase_61 -- -
testcase_62 -- -
testcase_63 -- -
testcase_64 -- -
testcase_65 -- -
testcase_66 -- -
testcase_67 -- -
testcase_68 -- -
testcase_69 -- -
testcase_70 -- -
testcase_71 -- -
testcase_72 -- -
testcase_73 -- -
testcase_74 -- -
testcase_75 -- -
testcase_76 -- -
testcase_77 -- -
testcase_78 -- -
testcase_79 -- -
testcase_80 -- -
testcase_81 -- -
testcase_82 -- -
testcase_83 -- -
testcase_84 -- -
testcase_85 -- -
testcase_86 -- -
testcase_87 -- -
testcase_88 -- -
testcase_89 -- -
testcase_90 -- -
testcase_91 -- -
testcase_92 -- -
testcase_93 -- -
testcase_94 -- -
testcase_95 -- -
testcase_96 -- -
testcase_97 -- -
testcase_98 -- -
testcase_99 -- -
testcase_100 -- -
testcase_101 -- -
testcase_102 -- -
testcase_103 -- -
testcase_104 -- -
testcase_105 -- -
testcase_106 -- -
testcase_107 -- -
testcase_108 -- -
testcase_109 -- -
testcase_110 -- -
testcase_111 -- -
testcase_112 -- -
testcase_113 -- -
testcase_114 -- -
testcase_115 -- -
testcase_116 -- -
testcase_117 -- -
testcase_118 -- -
testcase_119 -- -
testcase_120 -- -
testcase_121 -- -
testcase_122 -- -
testcase_123 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System.Numerics;
using System;

public class Hello
{
    public static void Main()
    {
        var n = BigInteger.Parse(Console.ReadLine().Trim());
        var k = BigInteger.Parse(Console.ReadLine().Trim());
        var a = (int)BigInteger.ModPow(n, k, 6);
        Console.WriteLine("428571"[a]);
    }
}
0