結果
| 問題 |
No.667 Mice's Luck(ネズミ達の運)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-01-11 10:49:34 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 349 bytes |
| コンパイル時間 | 9,912 ms |
| コンパイル使用メモリ | 167,788 KB |
| 実行使用メモリ | 63,864 KB |
| 最終ジャッジ日時 | 2024-12-22 01:52:58 |
| 合計ジャッジ時間 | 24,282 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 TLE * 4 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (91 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().ToList();
foreach (var i in Enumerable.Range(0, s.Count()))
{
Console.WriteLine((Double)s.Count(x => x == 'o') / s.Count() * 100.0);
s.RemoveAt(0);
}
}
}