Submission #929005


Source Code Expand

Copy
import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
    int count = 1;
    if(b != a) count++;
    if(c != b && c != a) count++;
    System.out.println(count);
  }
}

Submission Info

Submission Time
Task A - AtCoDeer and Paint Cans
User rit03cv
Language Java8 (OpenJDK 1.8.0)
Score 100
Code Size 315 Byte
Status AC
Exec Time 131 ms
Memory 9804 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 6
Set Name Test Cases
Sample 0_000.txt, 0_001.txt
All 0_000.txt, 0_001.txt, 1_002.txt, 1_003.txt, 1_004.txt, 1_005.txt
Case Name Status Exec Time Memory
0_000.txt AC 125 ms 9680 KB
0_001.txt AC 125 ms 9680 KB
1_002.txt AC 125 ms 9680 KB
1_003.txt AC 131 ms 9676 KB
1_004.txt AC 124 ms 9804 KB
1_005.txt AC 125 ms 9552 KB