Skip to content

Commit fcc0859

Browse files
committed
cf722
1 parent 9efe450 commit fcc0859

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

CF1.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,5 @@ int main()
3636
cin >> tc;
3737
while (tc--)
3838
{
39-
ll n;
40-
cin >> n;
41-
ll arr[n];
42-
for (ll i = 0; i < n; i++)
43-
cin >> arr[i];
44-
sort(arr, arr + n);
45-
ll start = arr[0];
46-
ll ans = 0;
47-
for (auto &i : arr)
48-
if (i == start)
49-
ans++;
50-
else
51-
break;
52-
cout << n - ans << endl;
5339
}
5440
}

0 commit comments

Comments
 (0)