結果
| 問題 | No.46 はじめのn歩 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-01-14 08:36:47 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 607 ms / 5,000 ms |
| + 506µs | |
| コード長 | 420 bytes |
| 記録 | |
| コンパイル時間 | 1,612 ms |
| コンパイル使用メモリ | 110,236 KB |
| 実行使用メモリ | 26,764 KB |
| 最終ジャッジ日時 | 2026-10-10 01:27:59 |
| 合計ジャッジ時間 | 3,251 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
namespace No046_はじめのn歩
{
class Program
{
static void Main(string[] args)
{
string[] input = Console.ReadLine().Split(' ');
int stride = int.Parse(input[0]);
int distance = int.Parse(input[1]);
int step;
for (step = 0; step * stride < distance; step++) ;
Console.WriteLine(step);
}
}
}