結果

問題 No.667 Mice's Luck(ネズミ達の運)
ユーザー nakamura0422
提出日時 2023-01-06 16:36:02
言語 C#
(.NET 8.0.404)
結果
TLE  
実行時間 -
コード長 337 bytes
コンパイル時間 16,506 ms
コンパイル使用メモリ 170,132 KB
実行使用メモリ 68,468 KB
最終ジャッジ日時 2024-11-30 11:56:37
合計ジャッジ時間 28,769 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 5 TLE * 5
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.csproj を復元しました (99 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/

ソースコード

diff #

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 s.Select((x, i) => (Double)s.Skip(i).Count(x => x == 'o') / s.Skip(i).Count() * 100))
	    	Console.WriteLine(item);
    }
}
0