Submission #4107291


Source Code Expand

Copy
N = gets.to_i
A = gets.to_s.chars
B = gets.to_s.chars
C = gets.to_s.chars

df1 = A - B
df2 = B - C
if df1 == [] && df2 == []
    p 0
else
    p (df1 + df2).uniq.size
end

Submission Info

Submission Time
Task B - Touitsu
User yokoyan
Language Ruby (2.3.3)
Score 0
Code Size 180 Byte
Status
Exec Time 7 ms
Memory 1788 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 a01, a02, a03
All 0 / 200 a01, a02, a03, b04, b05, b06, b07, b08, b09, b10
Case Name Status Exec Time Memory
a01 7 ms 1788 KB
a02 7 ms 1788 KB
a03 7 ms 1788 KB
b04 7 ms 1788 KB
b05 7 ms 1788 KB
b06 7 ms 1788 KB
b07 7 ms 1788 KB
b08 7 ms 1788 KB
b09 7 ms 1788 KB
b10 7 ms 1788 KB