AtCoder Beginner Contest 002

Submission #4651555

Source codeソースコード

fun readInt () = TextIO.scanStream (Int.scan StringCvt.DEC) TextIO.stdIn

val SOME x = readInt ()
val a = (x + 1) * 5000

val () = print (Int.toString a ^ "\n")

Submission

Task問題 A - 正直者
User nameユーザ名 ホスフィン
Created time投稿日時
Language言語 Standard ML (MLton 20100608)
Status状態 RE
Score得点 0
Source lengthソースコード長 167 Byte
File nameファイル名
Exec time実行時間 ms
Memory usageメモリ使用量 -

Compiler messageコンパイルメッセージ

Warning: Main.sml 3.6.
Declaration is not exhaustive.
missing pattern: NONE
in: SOME x = readInt ()

Test case

Set

Set name Score得点 / Max score Cases
all 0 / 100 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

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
00_sample_01.txt WA
00_sample_02.txt RE
kensho_diff01 WA
kensho_diff02 WA
kensho_diff03 WA
kensho_diff04 WA
kensho_diff05 WA
kensho_min-max01 RE
kensho_min-max02 RE
kensho_min-max03 WA
kensho_min-max04 WA
kensho_min-max05 RE
kensho_min-max06 WA
kensho_min-max07 RE
kensho_min-max08 RE
kensho_min-max09 RE
kensho_min-max10 WA
kensho_rand01 RE
kensho_rand02 RE
kensho_rand03 RE
kensho_rand04 RE
kensho_rand05 RE
kensho_rand06 RE
kensho_rand07 RE
kensho_rand08 RE
kensho_rand09 RE
kensho_rand10 RE