es
Feedback

¡No caigas en manos de tramposos! Telemetrio encuentra y marca estos canales 👉 Si quieres ver la etiqueta, suscríbete

FastTrack Placement Hub

FastTrack Placement Hub

Ir al canal en Telegram

🚀 Placement Preparation Hub 🎓 From Preparation to Placement ⚡️ OA Support • Coding • Aptitude • Technical • HR 🌟 Trusted by Hundreds of Students 📩 DM: @Mrtrueliving_ix 💙 Turning Aspirations into Offer Letters.

Mostrar más
3 384
Suscriptores
Sin datos24 horas
-117 días
-3930 días
Archivo de publicaciones
⚠️ Don’t Waste Your Time & Money on the Wrong People! 💡
These days, many claim to help — but not everyone truly wants to see you grow. Some only care about payment, while real mentors care about your progress and success. 🎯 Choose wisely! Find mentors who guide you with honesty, support you with patience, and push you toward your goals with real dedication. 💪 The right guidance can change your career. The wrong one can cost you both your time and your confidence. ✨ Invest in people who invest in you. Because when you learn from the right hands — success is guaranteed! 🚀 ❤️ Yours truly — @Mrtrueliving_ix & His Team 💻 #ChooseWisely #TrueGuidance #SmartLearning #TeamTrueLiving #SuccessWithPurpose
02 nov 2025, 10:17

Successfully cleared
Successfully cleared
02 nov 2025, 10:01

IBM CIC both codes are available @Mrtrueliving_ix @Mrtrueliving_ix
02 nov 2025, 08:35

Epam Slots are available @Mrtrueliving_ix @Mrtrueliving_ix
Epam Slots are available @Mrtrueliving_ix @Mrtrueliving_ix
02 nov 2025, 08:16

Micron Codes Are Available 🎯 @Mrtrueliving_ix @Mrtrueliving_ix
02 nov 2025, 01:58

import sys
import bisect

def suffixQueries(S, query):
    suffixes = [S[i:] for i in range(len(S))]
    suffixes.sort()
    total = 0
    for q in query:
        i = bisect.bisect_left(suffixes, q)
        if i < len(suffixes) and suffixes[i].startswith(q):
            total += len(suffixes[i])
        else:
            total += 0
    return total % (10**9 + 7)

def main():
    N = int(sys.stdin.readline().strip())
    Q = int(sys.stdin.readline().strip())
    S = sys.stdin.readline().strip()
    query = [sys.stdin.readline().strip() for _ in range(Q)]
    ans = suffixQueries(S, query)
    print(ans)

if __name__ == "__main__":
    main()
Suffixquiress ✓
02 nov 2025, 01:51

def check(A):
    return sum(A) * len(A)

def main():
    n = int(input())
    A = [int(input()) for _ in range(n)]
    print(check(A))

if __name__ == "__main__":
    main()
02 nov 2025, 01:50

Done ✅
Done ✅
02 nov 2025, 01:45

Edgeverve both codes are available @Mrtrueliving_ix @Mrtrueliving_ix
02 nov 2025, 01:19

Infosys edgeverve Help Available 🎯 @Mrtrueliving_ix @Mrtrueliving_ix Only plagfree coding✓
Infosys edgeverve Help Available 🎯 @Mrtrueliving_ix @Mrtrueliving_ix Only plagfree coding✓
02 nov 2025, 01:10

Infosys edgeverve codes are available @Mrtrueliving_ix @Mrtrueliving_ix
02 nov 2025, 01:35
02 nov 2025, ~01:39

All Placement Exam's Help Available @Mrtrueliving_ix @Mrtrueliving_ix
All Placement Exam's Help Available @Mrtrueliving_ix @Mrtrueliving_ix
02 nov 2025, 00:09

Company: IBM Role : Associate System Engineer { CIC HIRING} Batch : 2025 Apply link 🖇️ https://ibmglobal.avature.net/en_US/careers/JobDetail/Associate-System-Engineer/66789
01 nov 2025, 14:49

📘 Infosys ONCAMPUS Test Pattern 📘 Here are the key concepts to focus on.... Be well prepared according to this and aim for
📘 Infosys ONCAMPUS Test Pattern 📘
Here are the key concepts to focus on.... Be well prepared according to this and aim for 💯 test clearance!
01 nov 2025, 13:13

Placement exams Help available....
=> Accenture - ONCAMPUS { 💯 success} => Infosys - ONCAMPUS => Infosys edgeverve => Epam => IBM - offline - coding => Wayfair => Adobe => Eurofins => Hcl Offcampus - R2 Those who need 💯 test Clearance DM @Mrtrueliving_ix @Mrtrueliving_ix
Test Clearance Guarantee 😎
📌 Check the pinned message 📄 to see success stories & proofs of our past placement assistance 💯🚀
01 nov 2025, 09:09

🚨 Infosys SE - ONCAMPUS Slots Open! 🚨
💻 Access from Computer Lab 🎯 For those aiming for 100% Test Clearance ✅ Book your slots now! @Mrtrueliving_ix @Mrtrueliving_ix 💰 Note:
If access to the Computer Lab is not provided, then 80% of the amount will be refunded.
01 nov 2025, 08:45

01 nov 2025, 05:20

#include <bits/stdc++.h>
using namespace std;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    int a;
    cin >> a;
    vector<pair<int,int>> b(a), c(a);
    set<int> d;
    for (int i = 0; i < a; i++) {
        cin >> b[i].first >> b[i].second;
        d.insert(b[i].first);
        d.insert(b[i].second);
    }
    for (int i = 0; i < a; i++) cin >> c[i].first >> c[i].second;
    vector<int> e(d.begin(), d.end());
    auto f = [](vector<pair<int,int>> g) {
        for (auto& [h, i] : g) if (h > i) swap(h, i);
        sort(g.begin(), g.end());
        return g;
    };
    auto j = [](const vector<pair<int,int>>& k) {
        string l;
        for (auto [m, n] : k) l += to_string(m) + "-" + to_string(n) + ",";
        return l;
    };
    vector<pair<int,int>> o = f(c);
    string p = j(o);
    vector<pair<int,int>> q = f(b);
    string r = j(q);
    if (r == p) {
        cout << 0;
        return 0;
    }
    map<string,int> s;
    queue<pair<vector<pair<int,int>>,int>> t;
    t.push({q,0});
    s[r] = 0;
    while (!t.empty()) {
        auto [u,v] = t.front();
        t.pop();
        map<int,vector<int>> w;
        for (auto [x,y] : u) {
            w[x].push_back(y);
            w[y].push_back(x);
        }
        set<vector<int>> z;
        for (int aa : e) {
            function<void(int,int,vector<int>&,set<int>&)> ab = [&](int ac,int ad,vector<int>& ae,set<int>& af) {
                ae.push_back(ac);
                af.insert(ac);
                for (int ag : w[ac]) {
                    if (ag == ad) continue;
                    if (af.count(ag)) {
                        auto ah = find(ae.begin(), ae.end(), ag);
                        if (ah != ae.end()) {
                            vector<int> ai(ah, ae.end());
                            if (ai.size() >= 3) {
                                int aj = min_element(ai.begin(), ai.end()) - ai.begin();
                                rotate(ai.begin(), ai.begin() + aj, ai.end());
                                z.insert(ai);
                            }
                        }
                    } else if (ae.size() < e.size()) ab(ag, ac, ae, af);
                }
                ae.pop_back();
                af.erase(ac);
            };
            vector<int> ak;
            set<int> al;
            ab(aa, -1, ak, al);
        }
        for (const auto& am : z) {
            map<int,int> an;
            for (int ao : e) an[ao] = ao;
            int ap = am.size();
            for (int aq = 0; aq < ap; aq++) an[am[aq]] = am[(aq + 1) % ap];
            vector<pair<int,int>> ar;
            for (auto [as, at] : u) ar.push_back({an[as], an[at]});
            ar = f(ar);
            string au = j(ar);
            if (au == p) {
                cout << v + 1;
                return 0;
            }
            if (!s.count(au)) {
                s[au] = v + 1;
                t.push({ar, v + 1});
            }
        }
    }
    cout << -1;
    return 0;
}
Zoobin ✓ @Mrtrueliving_ix
01 nov 2025, 05:13

Need codes
Anonymous voting
01 nov 2025, 04:53

Utilizamos cookies para mejorar tu experiencia de navegación.
Al hacer clic en «Aceptar todo», aceptas la política de uso de cookies.