結果
| 問題 | No.388 階段 (1) | 
| コンテスト | |
| ユーザー |  #ラス+ | 
| 提出日時 | 2019-11-06 15:14:37 | 
| 言語 | C#(csc) (csc 3.9.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 26 ms / 2,000 ms | 
| コード長 | 1,274 bytes | 
| コンパイル時間 | 1,242 ms | 
| コンパイル使用メモリ | 107,776 KB | 
| 実行使用メモリ | 18,048 KB | 
| 最終ジャッジ日時 | 2024-09-15 00:20:03 | 
| 合計ジャッジ時間 | 2,004 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 12 | 
コンパイルメッセージ
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;
using System.Collections.Generic;
using static System.Console;
using static System.Math;
class Start{
  static void Solve(){
  	var s=Rint();
  	var f=Rint();
  	Write(s/f+1+LF);
  }
  static void Main(){
  	string s,t="";
  	readcount=-1;
  	while(true){
  		s=ReadLine();
  		if(s==null)break;
  		t+=s.Trim()+" ";
  	}
  	read=t.Split();
    var sw=new StreamWriter(OpenStandardOutput()){AutoFlush=false};
    SetOut(sw);
    Solve();
    Out.Flush();
  }
  static string Read(){readcount++;return read[readcount];}
  static int Rint(){readcount++;return int.Parse(read[readcount]);}
  static long Rlon(){readcount++;return long.Parse(read[readcount]);}
  static double Rdou(){readcount++;return double.Parse(read[readcount]);}
  static char Rcha(){readcount++;return read[readcount][0];}
  static string[] read;static int readcount;
  const long MOD=1000000007L;
  const string LF="\n";
  static void Swap<T>(ref T a,ref T b){T c=a;a=b;b=c;}
}
class Pair<T1,T2>:IComparable<Pair<T1,T2>>where T1:IComparable<T1>where T2:IComparable<T2>{
  public T1 F;public T2 S;
  public Pair(T1 f,T2 s){F=f;S=s;}
  public int CompareTo(Pair<T1,T2> p)=>F.CompareTo(p.F)!=0?F.CompareTo(p.F):S.CompareTo(p.S);
  public override string ToString()=>F+" "+S;
}
            
            
            
        