Submission #7515800


Source Code Expand

Copy
#!/usr/bin/env python3


def main():
    ws = ["Sunny", "Cloudy", "Rainy"]
    s = input()
    i = (ws.index(s) + 1) % len(ws)
    print(ws[i])


if __name__ == "__main__":
    main()

Submission Info

Submission Time
Task A - Weather Prediction
User hamukichi
Language Python (3.4.3)
Score 100
Code Size 196 Byte
Status AC
Exec Time 17 ms
Memory 2940 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 3
Set Name Test Cases
Sample 00-sample-01.txt, 00-sample-02.txt
All 00-sample-01.txt, 00-sample-02.txt, 02-cloudy.txt
Case Name Status Exec Time Memory
00-sample-01.txt AC 17 ms 2940 KB
00-sample-02.txt AC 17 ms 2940 KB
02-cloudy.txt AC 17 ms 2940 KB