結果
問題 |
No.793 うし数列 2
|
ユーザー |
![]() |
提出日時 | 2019-02-23 14:12:33 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 286 bytes |
コンパイル時間 | 1,087 ms |
コンパイル使用メモリ | 102,528 KB |
実行使用メモリ | 67,780 KB |
最終ジャッジ日時 | 2024-11-29 20:39:52 |
合計ジャッジ時間 | 17,445 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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)); BigInteger b = a % 1000000007; Console.WriteLine(b); } }