結果
| 問題 | No.388 階段 (1) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-24 16:43:58 |
| 言語 | C# (.NET 10.0.201) |
| 結果 |
AC
|
| 実行時間 | 71 ms / 2,000 ms |
| コード長 | 420 bytes |
| 記録 | |
| コンパイル時間 | 6,823 ms |
| コンパイル使用メモリ | 171,432 KB |
| 実行使用メモリ | 192,620 KB |
| 最終ジャッジ日時 | 2026-04-09 00:50:36 |
| 合計ジャッジ時間 | 10,360 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (97 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
using System;
namespace yukicoder
{
class Program
{
static void Main(string[] args)
{
int num = 0;
string[] str = Console.ReadLine().Split(' ');
int a = int.Parse(str[0]);//現在居る段数
int b = int.Parse(str[1]);//一階層分に相当する段数
num = (a / b)+1;
Console.WriteLine(num.ToString());
}
}
}