update
This commit is contained in:
parent
176048239a
commit
fc5215fb5a
@ -43,11 +43,12 @@ void solve()
|
||||
return;
|
||||
}
|
||||
sort(all(v));
|
||||
for(int i=1; i<n; i++)
|
||||
fro(n)
|
||||
{
|
||||
if(v[i]-v[i-1]>1)
|
||||
{
|
||||
no;
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user