結果
問題 |
No.2092 Conjugation
|
ユーザー |
![]() |
提出日時 | 2025-04-10 14:52:21 |
言語 | C# (.NET 8.0.404) |
結果 |
TLE
|
実行時間 | - |
コード長 | 531 bytes |
コンパイル時間 | 7,898 ms |
コンパイル使用メモリ | 169,696 KB |
実行使用メモリ | 41,904 KB |
最終ジャッジ日時 | 2025-04-10 14:52:45 |
合計ジャッジ時間 | 13,568 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 13 TLE * 2 -- * 3 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (140 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int [] list = Array.ConvertAll(Console.ReadLine().Split(' '), num => int.Parse(num)); int[] numList = new int[list[0]]; for(int i = 0; i < n; i++) { for(int j = 0; j < list[i]; j++) { numList[j]++; } } Console.WriteLine(String.Join(" ",numList)); } }