Submission #1339374


Source Code Expand

import java.util.*;


/**
 * Created by santa on 2016/10/16.
 */

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int ans = a * 100 + b * 10 + c;
        if(ans % 4 == 0){
            System.out.println("YES");
        }else{
            System.out.println("NO");
        }


    }// mainMethod




} // MainClass

Submission Info

Submission Time
Task A - RGB Cards
User evesanta
Language C++14 (GCC 5.4.1)
Score 0
Code Size 525 Byte
Status CE

Compile Error

./Main.cpp:1:1: error: ‘import’ does not name a type
 import java.util.*;
 ^
./Main.cpp:8:1: error: expected unqualified-id before ‘public’
 public class Main {
 ^