es
Feedback
Codeforces|Leetcode|Codechef free solutions

Codeforces|Leetcode|Codechef free solutions

Ir al canal en Telegram

Free codeforces, Codechef, Leetcode solutions are available 😍😍😍😍😍😍 Helped More than 200+ students to crack coding round in 2022 and helped placed them in Good companies. 🥳🥳🥳🤩🤩🤩 Dm @Cpsoln if you want help in coding round.

Mostrar más
4 317
Suscriptores
Sin datos24 horas
-137 días
-5230 días
Archivo de publicaciones
#include <bits/stdc++.h> using namespace std; #define int long long signed main() { int t = 1; cin >> t; while (t--) { int num; cin >> num; if (num % 2) cout << num-- << ' '; for (int i = 1; i <= num / 2; i++) cout << num - i + 1 << ' ' << i << ' '; cout << endl; } return 0; }

#include <bits/stdc++.h> using namespace std; int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);          int T;     cin >> T;     while (T--) {         int N, M;         cin >> N >> M;                  vector<int> A(N);         vector<int> B(N);         for (int i = 0; i < N; i++) cin >> A[i];         for (int i = 0; i < N; i++) cin >> B[i];                  unordered_map<int, int> candyRemainders;         unordered_map<int, int> chocolateRemainders;         for (int i = 0; i < N; i++) {             candyRemainders[A[i] % M]++;             chocolateRemainders[B[i] % M]++;         }                  int cnt = 0;         for (const auto& [candyRem, candyCount] : candyRemainders) {             int requiredRemainder = (M - candyRem) % M;             if (chocolateRemainders.count(requiredRemainder)) {                 cnt += candyCount * chocolateRemainders[requiredRemainder];             }         }                  cout << cnt << endl;     }          return 0; } what's wrong failing in last test case

After 5100+ subscribers I will post split permutation in group.

Flipkart codes available Dm @Cpsoln

Swiggy slots available Dm @Cpsoln

Willey edge slots available Dm @Cpsoln

Flipkart slots available Dm @Cpsoln

Urban club slots available Dm @Cpsoln

Tomorrow FNZ slots available Dm @Cpsoln

Zomato slots available Dm @Cpsoln

After seeing our channel many other telegram channels are providing free solutions, it's nice seeing them 😊😊

Get minimum done ✅✅

Recover deadpods done ✅✅

Get minimum cost done ✅✅

Cisco ideathon slots available Dm @Cpsoln

Accenture slot done ✅✅
Accenture slot done ✅✅

Today's Accenture mcq slot done ✅✅✅
Today's Accenture mcq slot done ✅✅✅

Dm fast guys Only 1 slot left

Uber slots available Dm @Cpsoln

Accenture slots available Dm @Cpsoln