Submission #7514322


Source Code Expand

Copy
import java.util.*;
import java.lang.*;



public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        String today = sc.next();
        if(today.equals("Sunny")) System.out.println("Cloudy");
        if(today.equals("Cloudy")) System.out.println("Rainy");
        if(today.equals("Rainy")) System.out.println("Sunny");

    }
}

Submission Info

Submission Time
Task A - Weather Prediction
User NASU41
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 401 Byte
Status AC
Exec Time 108 ms
Memory 19668 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 108 ms 19668 KB
00-sample-02.txt AC 89 ms 19412 KB
02-cloudy.txt AC 89 ms 18772 KB