๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.63K subscribers
5.6K photos
3 videos
95 files
10.3K 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
def ss(D, H, Mi, S, M, L, N):
    ww = (D * 24 * 60 * 60) + (H * 60 * 60) + (Mi * 60) + S
   
    s = M * L * N
    e = ww // s
    a = ww % s
   
    r = a // (L * N)
    a = a % (L * N)
   
    d = a // N
    q = a % N
   
    return e, r, d, q
D, H, Mi, S = map(int, input().split())
M, L, N = map(int, input().split())

ww = ss(D, H, Mi, S, M, L, N)
print(f"{ww[0]} {ww[1]} {ww[2]}  {ww[3]}")


TVSโœ…
Indigooooo Airlines Hiring for Airport Operations and Customer Support โค๏ธโค๏ธโค๏ธ๐Ÿ’ช๐Ÿ’ช๐Ÿ’ช๐Ÿ’ช๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ

Reporting Time to the below Venues: 08:30 AM.

Salary: Upto 7 Lacs Per Annum..
๐Ÿ”ฅ๐Ÿ”ฅ

Interview Date :- 29-August 
Time :- 8am-11am
Location :- Kochi
Address :- Hotel Ginger, Metro Pillar 668,Doraiswamy Iyer Rd,off Mahatma Gandhi Road,Shenoys,Kochi,Ernakulam,Kerala - 682035



Interview Date :- 30-August Time :- 10am-1pm 
Location :- Lucknow Address :- Hotel Pinnacle, Sector D, C.P. - 151, Parag Rd, near Power House Chauraha, Sector D1, LDA Colony, Lucknow, Uttar Pradesh 226012



Interview Date :- 30-August Time :- 1pm-4pm
Location :- Prayagraj Address :- Hotel Max -  Multi Functional Complex , Civil Lines Railway Station Compound, Prayagraj, Uttar Pradesh 211001



Interview Date :- 31-August 
Time :-  9am-12pm
Location :- Kolkata
Address :- Hotel Gallery - HUDCO MORE, 67, Bagmari Rd, near Ultadanga, Kolkata, West Bengal 700054



Interview Date :- 31-August 
Time :-  9am-12pm
Location :- Noida
Address :- Hotel Bellmont,14/1, opposite Botanical Garden Metro Station, Sector 37, Noida
Examity hiring Process Associate Trainee ๐Ÿ’ช๐Ÿ’ช๐Ÿฅณ๐Ÿฅณ

Details
Job Role: Process Associate Trainee
Qualifications: Any Graduate
Experience: 0 โ€“ 2 years
Job Type: Full Time
Location: Hyderabad
Salary: 5 LPA

Skills/Requirements:
1. Ability to accurately follow instructions and meticulously handle tasks, ensuring data accuracy and process compliance.
2. Eagerness to absorb new information, learn industry-specific processes, and quickly adapt to the roleโ€™s demands.
3. Proficiency in using office software such as Microsoft Office Suite (Excel, Word) and familiarity with data entry and management tools.
4. Capability to manage time effectively, prioritize tasks, and meet deadlines in a fast-paced work environment.

For Hyderabad - Come directly to the Venue

Date of Interview: 17th August

Time: 10.00 AM โ€“ 4.30 PM

Address: Examity India ON-LINE Proctoring LLP. 2nd Floor , My Home Twitza Building , Hitech City Main Rd, Diamond Hills, Hyderabad, Telangana 500081
๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
Photo
#include <bits/stdc++.h>
using namespace std;

const int P = 1000000007;

int solve(string N, int K) {
    if (K == 0) {
        return 1;
    }

    int len = N.size();
    int num[1010] = {0};
    int f[1010][1010][2] = {0};
    int ans = 0;

    for (int i = 2; i <= 1000; i++) {
        num[i] = num[__builtin_popcount(i)] + 1;
    }

    f[0][0][0] = 1;

    for (int i = 0; i < len; i++) {
        for (int j = 0; j <= i; j++) {
            for (int k = 0; k < 2; k++) {
                for (int l = 0; l <= (k ? 1 : (N[i] - '0')); l++) {
                    (f[i + 1][j + l][k | (l < N[i] - '0')] += f[i][j][k]) %= P;
                }
            }
        }
    }

    for (int i = 1; i <= 1000; i++) {
        if (num[i] == K - 1) {
            (ans += f[len][i][0]) %= P;
            (ans += f[len][i][1]) %= P;
        }
    }

    if (K == 1) {
        ans = (ans + P - 1) % P;
    }

    return ans;
}

int main() {
    string s;
    int k;
    cin >> s >> k;
    cout << solve(s, k) << endl;
    return 0;
}


Possible decryption โœ…
๐Ÿ‘2
int solve(int x1, int y1, int x2, int y2, int cx, int cy, int R)
{
    int count = 0;
    int R_squared = R * R;
    for (int y = y1; y <= y2; ++y)
    {
        int dy_squared = (y - cy) * (y - cy);
        if (dy_squared > R_squared)
            continue;
        int dx = static_cast<int>(sqrt(R_squared - dy_squared));
        int min_x = std::max(x1, cx - dx);
        int max_x = std::min(x2, cx + dx);
        if (min_x <= max_x)
        {
            count += (max_x - min_x + 1);
        }
    }

    return count;
}

int main()
{

    int x1 = 1, y1 = 1, x2 = 100000, y2 = 100000, cx = 50000, cy = 50000, R = 1000;
    cin >> x1 >> y1 >> x2 >> y2 >> cx >> cy >> R;
    cout << solve(x1, y1, x2, y2, cx, cy, R) << endl;
    return 0;
}

//Cordinates sprinkler โœ…
#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) {
    return b == 0 ? a : gcd(b, a % b);
}
int main() {
    int n, a, b;
    cin >> n >> a >> b;
    map<pair<int, int>, int> slope_map;
    for (int i = 0; i < n; ++i) {
        int x, y;
        cin >> x >> y;
        int dy = y - b;
        int dx = x - a;
        int g = gcd(dx, dy);
        dy /= g;
        dx /= g;
        if (dx < 0) {
            dy = -dy;
            dx = -dx;
        } else if (dx == 0) {
            dy = abs(dy);
        }

        slope_map[{dy, dx}]++;
    }
    int aa = 0;
    for (auto &entry : slope_map) {
        int count = entry.second;
        aa += count * (count - 1) / 2;
    }
    cout << aa << endl;
    return 0;
}


MAQ Software โœ