Submission #2240556

Source Code Expand

Copy
n = scanf('%d','C');
 
d = zeros(n,1);
 
for i = 1:n
	d(i) = scanf('%d','C'); 
end
 
ans = size(unique(d),1);
 
printf('%d\n',ans);

Submission Info

Submission Time
Task ABC085B - Kagami Mochi
User Hec
Language Octave (4.0.2)
Score 200
Code Size 141 Byte
Status
Exec Time 145 ms
Memory 9420 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 a01, a02, a03
All 200 / 200 a01, a02, a03, b04, b05, b06, b07, b08, b09, b10, b11, b12, b13
Case Name Status Exec Time Memory
a01 141 ms 9416 KB
a02 143 ms 9416 KB
a03 141 ms 9420 KB
b04 141 ms 9416 KB
b05 144 ms 9416 KB
b06 143 ms 9420 KB
b07 143 ms 9416 KB
b08 142 ms 9420 KB
b09 145 ms 9416 KB
b10 143 ms 9416 KB
b11 143 ms 9416 KB
b12 144 ms 9420 KB
b13 145 ms 9420 KB