๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.52K subscribers
5.56K photos
3 videos
95 files
9.68K links
๐ŸšฉMain Group - @SuperExams
๐Ÿ“Job Updates - @FresherEarth

๐Ÿ”ฐAuthentic Coding Solutions(with Outputs)
โš ๏ธDaily Job Updates
โš ๏ธHackathon Updates & Solutions

Buy ads: https://telega.io/c/cs_algo
Download Telegram
#include <bits/stdc++.h>
#define ll long long
#define pll pair<long long, long long>
#define vll vector<long long>
#define vc vector<char>
#define vs vector<string>
#define vvc vector<vector<char>>
#define vvll vector<vector<long long>>
#define vpll vector<pair<long long, long long>>
using namespace std;
ll solve(ll a,ll b,ll c,ll d)
{  
    if(a==c and b==d) return 1;

    while(c>=1 and d>=1)
    {
       if((c==a && d>b) || (d==b && c>a)) return 1;
        if(c>d) c %= d;
        else d %= c;
    }
    if(a==c and b==d) return 1;
    return 0;
}
int main()
{
    ll a,b,c,d; cin>>a>>b>>c>>d;
    //vvll dp(1001,vll(1001,-1));
    cout<<solve(a,b,c,d);
    return 0;
}

Is Possible โœ…
๐Ÿ“ข Mastek is hiring Fresher Technical Professionals

๐ˆ๐ง-๐๐ž๐ซ๐ฌ๐จ๐ง ๐ˆ๐ง๐ญ๐ž๐ซ๐ฏ๐ข๐ž๐ฐ ๐ƒ๐š๐ญ๐ž: ๐Ÿ’๐ญ๐ก ๐๐จ๐ฏ๐ž๐ฆ๐›๐ž๐ซ,๐Ÿ๐Ÿ‘ (๐’๐š๐ญ๐ฎ๐ซ๐๐š๐ฒ)
๐‹๐š๐ฌ๐ญ ๐๐š๐ญ๐ž ๐ญ๐จ ๐š๐ฉ๐ฉ๐ฅ๐ฒ: ๐Ÿ๐ฌ๐ญ ๐๐จ๐ฏ๐ž๐ฆ๐›๐ž๐ซ,๐Ÿ๐Ÿ‘ (๐–๐ž๐๐ง๐ž๐ฌ๐๐š๐ฒ) - ๐Ÿ๐Ÿ ๐๐Œ ๐ˆ๐’๐“

Apply Link : https://forms.office.com/pages/responsepage.aspx?id=AMXRrdemvU24kH-MtvfYYeg3ZaL8qjdOmhdtwU6JP0hUM1pLSURXMllPTTcyVzFHQUdIUFk3U0tSWi4u