Competitive Programming Solutions
415 subscribers
11 files
33 links
Download Telegram
I am creating a discussion group for Udemy and Coursera courses which you want please tell me in the group and I will try to provide you πŸ‘
Anonymous Poll
89%
Yes fine
11%
No
⚑️⚑️Unacademy GATE CSE Sanchit Jain 2021 course ⚑️⚑️


✨✨https://drive.google.com/drive/folders/1QyWar-Opds0R-btY3wkbhoDr8tWww5yR✨✨
https://t.me/joinchat/W-8mXnnM2fE4YTI1

This is the discussion group , join it
IBM Recruitment 2021 For Technical Support Associate

Location: Hyderabad

Qualification: Bachelor’s Degree

Experience: 0-2 Year's

Apply: https://careers.ibm.com/job/13875175/technical-support-associate-hyderabad-in/?codes=Freshersworkjob
Guys are you looking for internships or jobs ?
Anonymous Poll
92%
Yes
8%
No
Guys please join as much members as you can , share it with your friends πŸ”₯
πŸ’’πŸ’’πŸ’’πŸ’’πŸ’’πŸ’’πŸ’’
Capgemini is Hiring

Role:
Software Engineer

Requisition ID: 80618

Location: Bangalore

Experience: 6 months

Mandatory Skills - Experience in IT linux and Windows server administration Experience in CI/CD pipeline

Apply: https://bit.ly/3tPaYMa

Join
@competitiveprogrammingsolutions on telegram for more useful material and off campus updates πŸ”₯πŸ”₯πŸ”₯
Guys please join as much members as you can , share it with your friends πŸ”₯
GUYS BE READY FOR LEETCODE AND CODEFORCES SOLUTIONS
COUNTDOWN SOLUTION CODEFORCES


#include <bits/stdc++.h>
using namespace std;
#define ff(a, c) for (int(a) = 0; (a) < (c); (a)++)
#define int long long int
int32_t main() {
w(t) {
int n;
cin >> n;
string s;
cin >> s;
int ans = 0;
ff(i, n) {
if (s[i] != '0') {
ans += int32_t(s[i] - int32_t('0'));
if (i != n - 1) ans++;
}
}
cout << ans << endl;
}
return 0;
}
KICKSTART SOLUTION
WILL bE UPLOADING HERE SOON
CARS And Bikes solution
#include <bits/stdc++.h>
using namespace std;
#define ll long long
void solve();
int main()
{
//@cpsolutions
ios_base::sync_with_stdio(false);
cin.tie(NULL);

#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("error.txt", "w", stderr);
freopen("output.txt", "w", stdout);
#endif

ll int t=1;
/*is Single Test case?*/

cin >> t;

// t=1;

//single test case -= Delete if t testCases =-

while (t--) {
solve();
cout << "\n";
}

cerr << "time taken : " << (float)clock() / CLOCKS_PER_SEC << " secs" << endl;
int z;
cin>>z;
return 0;
}
void solve()
{
ll n;cin>>n;
if(n%4 == 0) cout<<"NO";
else cout<<"YES";
}
#include <iostream>
using namespace std;
int main() {
int t;
cin >> t;
while(t--)
{
int i, num;
cin >> num;
for(i = 1; i <= num; i++) {
cout << i << " ";
}
cout<<"\n";
}
return 0;
}