結果
| 問題 | No.793 うし数列 2 |
| コンテスト | |
| ユーザー |
bluemegane
|
| 提出日時 | 2019-02-23 14:12:33 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 286 bytes |
| 記録 | |
| コンパイル時間 | 785 ms |
| コンパイル使用メモリ | 103,168 KB |
| 実行使用メモリ | 54,116 KB |
| 最終ジャッジ日時 | 2026-05-23 13:33:10 |
| 合計ジャッジ時間 | 5,911 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 3 TLE * 1 -- * 17 |
コンパイルメッセージ
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);
}
}
bluemegane