結果
問題 |
No.667 Mice's Luck(ネズミ達の運)
|
ユーザー |
|
提出日時 | 2023-01-10 10:37:18 |
言語 | C# (.NET 8.0.404) |
結果 |
TLE
|
実行時間 | - |
コード長 | 371 bytes |
コンパイル時間 | 16,892 ms |
コンパイル使用メモリ | 167,756 KB |
実行使用メモリ | 62,824 KB |
最終ジャッジ日時 | 2024-12-21 10:54:00 |
合計ジャッジ時間 | 26,919 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 TLE * 5 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (100 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; using System.Collections.Generic; static class MicesLuck { static void Main() { string s = Console.ReadLine(); foreach (Double item in Enumerable.Range(0, s.Count()).Select((x) => (Double)s.Skip(x).Count(y => y == 'o') / s.Skip(x).Count() * 100.0)) Console.WriteLine(item); } }