結果
| 問題 |
No.51 やる気の問題
|
| コンテスト | |
| ユーザー |
Adamantite
|
| 提出日時 | 2023-06-28 00:41:42 |
| 言語 | C# (.NET 8.0.404) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 367 bytes |
| コンパイル時間 | 12,158 ms |
| コンパイル使用メモリ | 168,268 KB |
| 実行使用メモリ | 190,412 KB |
| 最終ジャッジ日時 | 2024-07-04 16:47:35 |
| 合計ジャッジ時間 | 13,045 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 RE * 6 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (148 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;
namespace No51_MotivationIssues
{
internal class Program
{
static void Main(string[] args) {
int w = int.Parse(Console.ReadLine());
int d = int.Parse(Console.ReadLine());
for(int i = d; 1 < i; i--) {
w -= w / (i * i);
}
Console.WriteLine(w);
}
}
}
Adamantite