結果
| 問題 | No.8020 サンシャイン◯崎 |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2026-11-15 14:25:20 |
| 言語 | C# (.NET 10.0.403 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 41 ms / 1,000 ms |
| + 590µs | |
| コード長 | 572 bytes |
| 記録 | |
| コンパイル時間 | 6,242 ms |
| コンパイル使用メモリ | 171,976 KB |
| 実行使用メモリ | 31,616 KB |
| 最終ジャッジ日時 | 2026-11-15 14:25:41 |
| 合計ジャッジ時間 | 9,246 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (204 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
using System;
using static System.Console;
using System.Linq;
using System.Collections.Generic;
class Program
{
static int NN => int.Parse(ReadLine());
static int[] NList => ReadLine().Split().Select(int.Parse).ToArray();
public static void Main()
{
Solve();
}
static void Solve()
{
var s = ReadLine();
var count = new int[5];
var text = "YEAH!";
foreach (var c in s)
{
++count[text.IndexOf(c)];
}
WriteLine(string.Join(" ", count));
}
}