Submission #110866


Source Code Expand



import java.util.Scanner

object Main{
	
	val s = new Scanner(System.in)
	
	def main(args:Array[String]) = {
		println(max(s.nextInt, s.nextInt))
	}
	
	def max(a:Int, b:Int) = if(a>=b) a else b
}

Submission Info

Submission Time
Task A - 正直者
User flour4445
Language Scala (2.9.1)
Score 100
Code Size 212 Byte
Status AC
Exec Time 1145 ms
Memory 43096 KB

Judge Result

Set Name all
Score / Max Score 100 / 100
Status
AC × 27
Set Name Test Cases
all 00_sample_01.txt, 00_sample_02.txt, kensho_diff01, kensho_diff02, kensho_diff03, kensho_diff04, kensho_diff05, kensho_min-max01, kensho_min-max02, kensho_min-max03, kensho_min-max04, kensho_min-max05, kensho_min-max06, kensho_min-max07, kensho_min-max08, kensho_min-max09, kensho_min-max10, kensho_rand01, kensho_rand02, kensho_rand03, kensho_rand04, kensho_rand05, kensho_rand06, kensho_rand07, kensho_rand08, kensho_rand09, kensho_rand10
Case Name Status Exec Time Memory
00_sample_01.txt AC 1095 ms 43056 KB
00_sample_02.txt AC 1065 ms 43060 KB
kensho_diff01 AC 1075 ms 43008 KB
kensho_diff02 AC 1086 ms 43064 KB
kensho_diff03 AC 1091 ms 43028 KB
kensho_diff04 AC 1096 ms 42960 KB
kensho_diff05 AC 1078 ms 43064 KB
kensho_min-max01 AC 1117 ms 42924 KB
kensho_min-max02 AC 1059 ms 43016 KB
kensho_min-max03 AC 1094 ms 43088 KB
kensho_min-max04 AC 1081 ms 42972 KB
kensho_min-max05 AC 1065 ms 42944 KB
kensho_min-max06 AC 1145 ms 42940 KB
kensho_min-max07 AC 1082 ms 43080 KB
kensho_min-max08 AC 1068 ms 42968 KB
kensho_min-max09 AC 1059 ms 42888 KB
kensho_min-max10 AC 1095 ms 43096 KB
kensho_rand01 AC 1083 ms 43072 KB
kensho_rand02 AC 1062 ms 43028 KB
kensho_rand03 AC 1057 ms 42896 KB
kensho_rand04 AC 1062 ms 43068 KB
kensho_rand05 AC 1079 ms 42976 KB
kensho_rand06 AC 1065 ms 43020 KB
kensho_rand07 AC 1072 ms 42932 KB
kensho_rand08 AC 1088 ms 43072 KB
kensho_rand09 AC 1082 ms 43064 KB
kensho_rand10 AC 1052 ms 43016 KB