Category: Problem Solution
#include<iostream> using namespace std; int main(){ long long int n,tr, ary1[100000],ary2[100000],d; cin>>n; for(int i=0; i<n; i++){ cin>>ary1[i];…
This is level 3 problem so will do it later. But this video will help for sure….
Hackerrank problem: #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main()…
A good example of pointer code at Hacker Rank: #include <stdio.h> void update(int *a,int *b) { //…
strcmp in c/c++ issues is the hard part nothing else…Just try to learn this 🙂 Logical condition…
My failed code: http://ideone.com/4o96LX My succeeded accepted code: #include<iostream> #include<cstdio> using namespace std; int main() { double…
Recent Comments