結果
| 問題 |
No.46 はじめのn歩
|
| コンテスト | |
| ユーザー |
Kura
|
| 提出日時 | 2019-09-20 21:07:56 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 25 ms / 5,000 ms |
| コード長 | 1,037 bytes |
| コンパイル時間 | 1,568 ms |
| コンパイル使用メモリ | 103,424 KB |
| 実行使用メモリ | 17,792 KB |
| 最終ジャッジ日時 | 2024-09-14 15:59:58 |
| 合計ジャッジ時間 | 2,367 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
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;}
}
Kura