結果
| 問題 | No.63 ポッキーゲーム |
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-31 15:44:11 |
| 言語 | C# (.NET 10.0.201) |
| 結果 |
AC
|
| 実行時間 | 218 ms / 5,000 ms |
| コード長 | 506 bytes |
| 記録 | |
| コンパイル時間 | 4,977 ms |
| コンパイル使用メモリ | 170,492 KB |
| 実行使用メモリ | 193,108 KB |
| 最終ジャッジ日時 | 2026-07-08 03:44:14 |
| 合計ジャッジ時間 | 7,951 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (83 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
class Program
{
static void Main(string[] args)
{
string[] inputNum = Console.ReadLine().Split(' ');
Console.WriteLine( CatCount(int.Parse(inputNum[0]), int.Parse(inputNum[1]) * 2)* int.Parse(inputNum[1]));
}
private static int CatCount (int size , int cutsize)
{
int count = 0;
while (size > cutsize * (count + 1))
{
count++;
}
return count;
}
}
Maeda