Code Submission Evaluation System Login

# HIIT Open 2016

 Start: 2016-05-28 11:00:00 End: 2016-05-28 16:00:00

CSES - HIIT Open 2016 - Results
History
2016-05-28 15:28:12
 Task: Ethernet cable Sender: Ace of Spades Submission time: 2016-05-28 15:28:12 Language: Python2 Status: READY Result: WRONG ANSWER

## Test results

 test verdict time (s) #1 WRONG ANSWER 0.05 / 2.00 details

## Code

```
def Ts(S):
L = [1,0,0,0,0]
for i in S:
if i == "H":
L[1] += L[0]
elif i == "I":
L[3] += L[2]
L[2] += L[1]
elif i == "T":
L[4] += L[3]
return L[4]

def main():
t = int(raw_input())
res = []
for i in range(t):
res.append(str( Ts(raw_input()) ))
print "\n".join(res)

main()
```

## Test details

### Test 1

Verdict: WRONG ANSWER

input
```50 7 8 0 6 east 2 3 east +-+-+-+-+-+-+-+ |...|.........| +.+.+.+.+.+.+.+ |...|.........| +.+.+.+.+.+.+.+ |...|.........| +.+.+.+.+.+.+.+ |...|.........| +.+.+-+D+-+-+-+ |.............| +.+.+.+.+.+.+.+ |.............| +.+.+.+.+.+.+.+ |.............| +.+.+.+.+.+.+.+ |.............| ...```
view   save

correct output
```13 44 67 52 72 30 30 33 34 25 29 13 49 59 60 79 43 75 27 89 ...```
view   save

user output
```0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...```
view   save