結果

問題 No.756 チャンパーノウン定数 (1)
ユーザー fal_rndfal_rnd
提出日時 2019-02-07 23:53:29
言語 Scala(Beta)
(3.4.0)
結果
AC  
実行時間 1,029 ms / 2,000 ms
コード長 238 bytes
コンパイル時間 9,500 ms
コンパイル使用メモリ 259,200 KB
実行使用メモリ 62,988 KB
最終ジャッジ日時 2023-09-14 03:35:00
合計ジャッジ時間 34,994 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,006 ms
62,612 KB
testcase_01 AC 1,009 ms
62,844 KB
testcase_02 AC 1,009 ms
62,828 KB
testcase_03 AC 1,014 ms
62,988 KB
testcase_04 AC 1,027 ms
62,816 KB
testcase_05 AC 1,016 ms
62,908 KB
testcase_06 AC 1,022 ms
62,808 KB
testcase_07 AC 1,013 ms
62,700 KB
testcase_08 AC 1,009 ms
62,820 KB
testcase_09 AC 1,012 ms
62,680 KB
testcase_10 AC 1,026 ms
62,724 KB
testcase_11 AC 1,012 ms
62,808 KB
testcase_12 AC 1,017 ms
62,860 KB
testcase_13 AC 1,010 ms
62,596 KB
testcase_14 AC 1,007 ms
62,632 KB
testcase_15 AC 1,012 ms
62,868 KB
testcase_16 AC 1,010 ms
62,788 KB
testcase_17 AC 1,002 ms
62,656 KB
testcase_18 AC 1,029 ms
62,724 KB
testcase_19 AC 1,005 ms
62,772 KB
testcase_20 AC 1,001 ms
62,680 KB
testcase_21 AC 1,006 ms
62,764 KB
testcase_22 AC 1,008 ms
62,820 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

case class F(c:Int,m:Int){
	override def toString:String = s"$c $m";
}

object Main{
	val s = new java.util.Scanner(System.in)
	def main(args:Array[String]):Unit ={
		println(0 to 100 map(_.toString) reduce (_ + _) charAt(s.nextInt))
	}
}
0