Submission #2704841


Source Code Expand

from strutils import parseInt

let a = parseInt(readLine(stdin))
echo (a+1)*5000

Submission Info

Submission Time
Task A - AtCoder社の給料
User FourmiSushi
Language Nim (0.13.0)
Score 0
Code Size 83 Byte
Status CE

Compile Error

Hint: system [Processing]
Hint: Main [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Main.nim(4, 11) Error: type mismatch: got (empty, int literal(5000))
but expected one of: 
system.*(x: T, y: T)
system.*(x: int16, y: int16)
system.*(x: set[T], y: set[T])
system.*(x: float32, y: float32)
system.*(x: int64, y: int64)
system.*(x: float, y: float)
system.*(x: int, y: int)
system.*(x: int32, y: int32)
system.*(x: int8, y: int8)