Submission #2529718


Source Code Expand

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication3;


import java.util.* ;

/**
 *
 * @author nai
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws Exception{
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        HashSet<Integer> set = new HashSet<>();
        for(int i = 0 ; i< N ; i++){
            set.add(sc.nextInt());
        }
        System.out.println(set.size());
    }
  }
    

Submission Info

Submission Time
Task B - Kagami Mochi
User baito
Language Java8 (OpenJDK 1.8.0)
Score 0
Code Size 742 Byte
Status RE
Exec Time 84 ms
Memory 21460 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 200
Status
RE × 3
RE × 13
Set Name Test Cases
Sample a01, a02, a03
All a01, a02, a03, b04, b05, b06, b07, b08, b09, b10, b11, b12, b13
Case Name Status Exec Time Memory
a01 RE 84 ms 19412 KB
a02 RE 78 ms 19924 KB
a03 RE 75 ms 17876 KB
b04 RE 80 ms 21204 KB
b05 RE 78 ms 21460 KB
b06 RE 77 ms 19412 KB
b07 RE 76 ms 19540 KB
b08 RE 78 ms 18900 KB
b09 RE 77 ms 21332 KB
b10 RE 78 ms 21460 KB
b11 RE 76 ms 18388 KB
b12 RE 79 ms 19284 KB
b13 RE 80 ms 19536 KB