結果
| 問題 | No.793 うし数列 2 | 
| コンテスト | |
| ユーザー |  bluemegane | 
| 提出日時 | 2019-02-23 14:10:43 | 
| 言語 | C#(csc) (csc 3.9.0) | 
| 結果 | 
                                TLE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 261 bytes | 
| コンパイル時間 | 2,182 ms | 
| コンパイル使用メモリ | 110,860 KB | 
| 実行使用メモリ | 80,028 KB | 
| 最終ジャッジ日時 | 2024-11-29 20:32:37 | 
| 合計ジャッジ時間 | 17,662 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 3 RE * 13 TLE * 5 | 
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System.Numerics;
using System;
public class Hello
{
    static void Main()
    {
        var n = int.Parse(Console.ReadLine().Trim());
        BigInteger a = BigInteger.Parse("1" + new string('3', n));
        Console.WriteLine(a % 1000000007);
    }
}
            
            
            
        