Submission #7022277


Source Code Expand

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ABC085B_KagamiMochi
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            HashSet<int> hs = new HashSet<int>();
            for(int i = 0; i < n; i++)
            {
                int input = int.Parse(Console.ReadLine());
                hs.Add(input);
            }
            Console.WriteLine(hs.Count);
        }
    }
}

Submission Info

Submission Time
Task B - Kagami Mochi
User sumachu
Language C# (Mono 4.6.2.0)
Score 200
Code Size 563 Byte
Status AC
Exec Time 24 ms
Memory 13396 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 3
AC × 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 AC 22 ms 11348 KB
a02 AC 22 ms 11348 KB
a03 AC 23 ms 11232 KB
b04 AC 22 ms 11348 KB
b05 AC 22 ms 9300 KB
b06 AC 23 ms 13396 KB
b07 AC 24 ms 13280 KB
b08 AC 23 ms 9184 KB
b09 AC 23 ms 11232 KB
b10 AC 23 ms 13268 KB
b11 AC 22 ms 9300 KB
b12 AC 23 ms 13268 KB
b13 AC 23 ms 11348 KB