結果
| 問題 | No.667 Mice's Luck(ネズミ達の運) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-01-11 11:29:00 |
| 言語 | C# (.NET 10.0.201) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 331 bytes |
| 記録 | |
| コンパイル時間 | 6,322 ms |
| コンパイル使用メモリ | 172,696 KB |
| 実行使用メモリ | 61,772 KB |
| 最終ジャッジ日時 | 2026-05-28 12:38:37 |
| 合計ジャッジ時間 | 11,372 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 TLE * 1 -- * 3 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (86 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.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);
}
}
}