Submission #10196043


Source Code Expand

Copy
n = gets.to_i
an = n.times.map { gets.to_i }

puts an.group_by(&:itself).select { |k, v| v.size.odd? }.count

Submission Info

Submission Time
Task C - Write and Erase
User akht
Language Ruby (2.3.3)
Score 300
Code Size 113 Byte
Status
Exec Time 166 ms
Memory 22580 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 300 / 300
Status
× 3
× 11
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
01.txt 71 ms 3764 KB
02.txt 71 ms 3764 KB
03.txt 166 ms 22580 KB
04.txt 72 ms 3452 KB
05.txt 120 ms 12724 KB
06.txt 76 ms 3892 KB
07.txt 64 ms 3764 KB
08.txt 76 ms 4148 KB
sample_01.txt 7 ms 1788 KB
sample_02.txt 7 ms 1788 KB
sample_03.txt 7 ms 1788 KB