結果
| 問題 |
No.667 Mice's Luck(ネズミ達の運)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-01-10 11:29:25 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 344 bytes |
| コンパイル時間 | 16,760 ms |
| コンパイル使用メモリ | 168,944 KB |
| 実行使用メモリ | 68,980 KB |
| 最終ジャッジ日時 | 2024-12-21 12:01:00 |
| 合計ジャッジ時間 | 32,431 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 TLE * 5 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (109 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);
}
}