結果
問題 |
No.667 Mice's Luck(ネズミ達の運)
|
ユーザー |
|
提出日時 | 2023-01-11 11:29:00 |
言語 | C# (.NET 8.0.404) |
結果 |
TLE
|
実行時間 | - |
コード長 | 331 bytes |
コンパイル時間 | 19,444 ms |
コンパイル使用メモリ | 170,264 KB |
実行使用メモリ | 90,208 KB |
最終ジャッジ日時 | 2024-12-22 02:34:09 |
合計ジャッジ時間 | 25,007 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 TLE * 4 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (108 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.Collections.Generic; using System.Linq; static class MicesLuck { static void Main() { var s = Console.ReadLine(); var sc = s; foreach (var c in sc) { Console.WriteLine((Double)sc.Count(x => x == 'o') / sc.Count() * 100.0); sc = sc.Remove(0,1); } } }