Waluscha Shields
About
-
Posted Questions
No Question(s) posted yet!
Posted Answers
Answer
3 Configure the device output · Open the app's preferences · Select the output tab · Select NewTek NDI output · Tap done · To confirm, the status label will update
Answer is posted for the following question.
How to activate ndi in obs?
Answer
Can anyone hel me? I got WA 20. I used linear Diophantine equation and extended Euclidian algorithms from cp-algorithms.com, but I got WA. These are links that I used:
My code is :
#include using namespace std; ll gcd(ll a,ll b,ll &x,ll &y)
{
if(a==0)
{
x=0;
y=1;
return b;
}
ll x1,y1;
ll d=gcd(b%a,a,x1,y1);
x=y1-(b/a)*x1;
y=x1;
return d;
} bool find_any_solution(ll a,ll b,ll c,ll &x0,ll &y0,ll &g)
{
g=gcd(abs(a),abs(b),x0,y0);
if(c%g)
return false;
x0*=c/g;
y0*=c/g;
if(a<0)
x0=-x0;
if(b<0)
y0=-y0;
return true;
} void shift_solution(ll &x,ll &y,ll a,ll b,ll cnt)
{
x+=cntb;
y-=cnta;
} PII find_all_solution(ll a,ll b,ll c,ll minx,ll maxx,ll miny,ll maxy)
{
ll x,y,g;
PII res= {-1,-1};
if(!find_any_solution(a,b,c,x,y,g))
return res;
a/=g;
b/=g; }
Answer is posted for the following question.