Submission #1443455
Source Code Expand
import Foundation let line: String = readLine()! if line == "A" { print("1") } else if line == "B" { print("2") } else if line == "C" { print("3") } else if line == "D" { print("4") } else if line == "E" { print("5") }
Submission Info
Submission Time | |
---|---|
Task | A - A |
User | acevif |
Language | Swift (swift-2.2-RELEASE) |
Score | 100 |
Code Size | 254 Byte |
Status | AC |
Exec Time | 26 ms |
Memory | 2304 KB |
Judge Result
Set Name | all | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
all | A.txt, B.txt, C.txt, D.txt, E.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
A.txt | AC | 26 ms | 2304 KB |
B.txt | AC | 4 ms | 1024 KB |
C.txt | AC | 4 ms | 1024 KB |
D.txt | AC | 4 ms | 1024 KB |
E.txt | AC | 4 ms | 1024 KB |