結果
問題 |
No.667 Mice's Luck(ネズミ達の運)
|
ユーザー |
|
提出日時 | 2023-01-10 11:52:15 |
言語 | C# (.NET 8.0.404) |
結果 |
TLE
|
実行時間 | - |
コード長 | 344 bytes |
コンパイル時間 | 16,660 ms |
コンパイル使用メモリ | 167,016 KB |
実行使用メモリ | 64,768 KB |
最終ジャッジ日時 | 2024-12-21 12:11:39 |
合計ジャッジ時間 | 24,976 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 TLE * 5 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (104 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 (int i in Enumerable.Range(0, s.Count())) Console.WriteLine((Double)s.Skip(i).Count(x => x == 'o') / s.Skip(i).Count() * 100.0); } }