結果
問題 | No.964 2020 |
ユーザー | ccc |
提出日時 | 2022-09-02 16:28:33 |
言語 | C# (.NET 8.0.203) |
結果 |
AC
|
実行時間 | 45 ms / 2,020 ms |
コード長 | 697 bytes |
コンパイル時間 | 6,412 ms |
コンパイル使用メモリ | 166,112 KB |
実行使用メモリ | 183,376 KB |
最終ジャッジ日時 | 2024-04-27 17:15:12 |
合計ジャッジ時間 | 7,457 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 41 ms
28,764 KB |
testcase_01 | AC | 41 ms
30,816 KB |
testcase_02 | AC | 41 ms
28,760 KB |
testcase_03 | AC | 41 ms
29,040 KB |
testcase_04 | AC | 41 ms
28,928 KB |
testcase_05 | AC | 42 ms
28,780 KB |
testcase_06 | AC | 43 ms
28,672 KB |
testcase_07 | AC | 42 ms
28,800 KB |
testcase_08 | AC | 45 ms
28,672 KB |
testcase_09 | AC | 45 ms
183,376 KB |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (79 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System; using System.Linq; using System.Collections.Generic; using System.Text.RegularExpressions; class Program { static void Main() { int inputNumber = int.Parse(Console.ReadLine()); if (inputNumber<=1) { Console.WriteLine((1).ToString()); return; } string outputString = string.Empty; for(int i=0;i<inputNumber;++i) { for(int j=inputNumber;j>0;) { outputString += (--j).ToString(); } } Console.WriteLine(outputString); return; } }