結果
| 問題 |
No.667 Mice's Luck(ネズミ達の運)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-01-06 16:21:34 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 343 bytes |
| コンパイル時間 | 15,936 ms |
| コンパイル使用メモリ | 167,884 KB |
| 実行使用メモリ | 70,272 KB |
| 最終ジャッジ日時 | 2024-11-30 11:35:09 |
| 合計ジャッジ時間 | 30,677 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 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/
ソースコード
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}%");
}
}