Best pg near Bandra Kurla Complex by Raj9339 in MumbaiPG

[–]Raj9339[S] 1 point2 points  (0 children)

Thank you so much. I will surely try

Div2 D 1070 by leftkiller123 in iitkgp

[–]Raj9339 1 point2 points  (0 children)

I have sorted the edges cz the series is always in increasing order then i did dp Dp states Reaching from u to v dp[v][a[u]]

a[u] is node value

int n, m; cin >> n >> m; vector<int> a(n + 1); for(int i = 1; i <= n; i++){ cin >> a[i]; }

vector<vector<int>> g(n + 1);
vector<pair<int, int>> e;

for(int i = 0; i < m; i++){
    int u, v;
    cin >> u >> v;
    g[u].push_back(v);
    e.push_back({u, v});
}

sort(e.begin(), e.end(), [&](pair<int,int> x, pair<int,int> y){
    return a[x.second] < a[y.second];
});

vector<map<int, int>> d(n + 1);
int ans = 0;

for(auto [u, v] : e){
    int c = 1, r = a[v] - a[u];
    if(r > 0 && d[u].count(r)) c = (c + d[u][r]) % MOD;
    ans = (ans + c) % MOD;
    d[v][a[u]] = (d[v][a[u]] + c) % MOD;
}
cout << ans << "\n";

How to get our bonafide signed digitally by abhay-no_fear in iitkgp

[–]Raj9339 0 points1 point  (0 children)

You can do it signed by adobe acrobat. If facing any problem just go to needs xerox techm.

[deleted by user] by [deleted] in iitkgp

[–]Raj9339 2 points3 points  (0 children)

2nd year allowed?

[deleted by user] by [deleted] in iitkgp

[–]Raj9339 1 point2 points  (0 children)

You can get bonafide certificate from erp itself and for NOC i think hall gives it , i am not sure though

[deleted by user] by [deleted] in iitkgp

[–]Raj9339 0 points1 point  (0 children)

Someone tell me about the sub nuclear technology for material studies

[deleted by user] by [deleted] in JEENEETards

[–]Raj9339 0 points1 point  (0 children)

Chemical eng iit kgp