結果
| 問題 | No.51 やる気の問題 |
| コンテスト | |
| ユーザー |
Adamantite
|
| 提出日時 | 2023-06-28 00:41:42 |
| 言語 | C# (.NET 10.0.201) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 367 bytes |
| 記録 | |
| コンパイル時間 | 6,420 ms |
| コンパイル使用メモリ | 171,436 KB |
| 実行使用メモリ | 199,852 KB |
| 最終ジャッジ日時 | 2026-03-26 00:32:11 |
| 合計ジャッジ時間 | 10,014 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 RE * 6 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (88 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.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