結果

問題 No.46 はじめのn歩
ユーザー KuraKura
提出日時 2019-09-20 21:07:56
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 60 ms / 5,000 ms
コード長 1,037 bytes
コンパイル時間 2,491 ms
コンパイル使用メモリ 100,084 KB
実行使用メモリ 22,756 KB
最終ジャッジ日時 2023-10-12 17:27:46
合計ジャッジ時間 3,909 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
20,716 KB
testcase_01 AC 59 ms
22,748 KB
testcase_02 AC 58 ms
20,764 KB
testcase_03 AC 60 ms
20,844 KB
testcase_04 AC 59 ms
22,756 KB
testcase_05 AC 58 ms
20,700 KB
testcase_06 AC 57 ms
20,712 KB
testcase_07 AC 57 ms
20,600 KB
testcase_08 AC 58 ms
20,784 KB
testcase_09 AC 57 ms
20,684 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.IO;
class Start{static void Main(){Console.SetOut(new StreamWriter(Console.OpenStandardOutput()){AutoFlush=false});
var s=In();
long a=Lon(s[0]),b=Lon(s[1]);
Outl((b+a-1)/a);
Console.Out.Flush();}
  static string[] In(){return Console.ReadLine().Split(' ');}
  static long Lon(string a){return long.Parse(a);}
  static double Dou(string a){return double.Parse(a);}
  static void Out(long a){Console.Write(a);}
  static void Out(string a){Console.Write(a);}
  static void Out(char a){Console.Write(a);}
  static void Out(double a){Console.Write(a);}
  static void Outl(long a){Console.WriteLine(a);}
  static void Outl(string a){Console.WriteLine(a);}
  static void Outl(char a){Console.WriteLine(a);}
  static void Outl(double a){Console.WriteLine(a);}
  static void Swap(ref long a,ref long b){long c=a;a=b;b=c;}
  static void Swap(ref double a,ref double b){double c=a;a=b;b=c;}
  static void Swap(ref char a,ref char b){char c=a;a=b;b=c;}
  static void Swap(ref string a,ref string b){string c=a;a=b;b=c;}
}
0