結果
| 問題 | No.1291 小手調べ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-12-16 16:10:09 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
AC
|
| 実行時間 | 69 ms / 2,000 ms |
| コード長 | 806 bytes |
| 記録 | |
| コンパイル時間 | 7,940 ms |
| コンパイル使用メモリ | 170,036 KB |
| 実行使用メモリ | 187,516 KB |
| 最終ジャッジ日時 | 2025-12-16 16:10:18 |
| 合計ジャッジ時間 | 8,950 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 4 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (101 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System.Numerics;
public class Program
{
public static void Main()
{
//BigInteger num = BigInteger.Parse(Console.ReadLine() ?? string.Empty);
int num = int.Parse(Console.ReadLine() ?? string.Empty);
//string[] moji = (Console.ReadLine() ?? string.Empty).Trim().Split(' ');
//string moji = Console.ReadLine() ?? string.Empty;
for(int i = 0; i < num; i++)
{
int numq = int.Parse(Console.ReadLine() ?? string.Empty);
if(numq == 1)
{
Console.WriteLine(10);
continue;
}
Console.Write(9);
for(int j = 1; j < numq; j++)
{
Console.Write(0);
}
Console.WriteLine();
}
}
}