Submission #1821589
Source Code Expand
S=map(str,input().split()) ans=[] for s in S: if s == "Left": ans.append("<") elif s == "Right": ans.append(">") else: # s == "AtCoder" ans.append("A") print(" ".join(map(str,ans)))
Submission Info
Submission Time | |
---|---|
Task | A - スペース高橋君 |
User | ty70 |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 203 Byte |
Status | CE |
Compile Error
./Main.cpp:8:8: error: stray ‘#’ in program else: # s == "AtCoder" ^ ./Main.cpp:1:1: error: ‘S’ does not name a type S=map(str,input().split()) ^