Category: Problem Solution

17
Feb
2017

Monk and Welcome Problem

#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];…

16
Feb
2017

URI Online Judge | 1030 Flavious Josephus Legend

This is level 3 problem so will do it later. But this video will help for  sure….

13
Feb
2017

A good Array Example

Hackerrank problem: #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main()…

12
Feb
2017

A good example of pointer code at Hacker Rank

A good example of pointer code at Hacker Rank: #include <stdio.h> void update(int *a,int *b) { //…

02
Jan
2017

URI Online Judge Solution | 1049 Animal

strcmp in c/c++ issues is the hard part nothing else…Just try to learn this 🙂 Logical condition…

02
Jan
2017

URI Online Judge Solution | 1048 Salary Increase

My failed code: http://ideone.com/4o96LX My succeeded accepted code: #include<iostream> #include<cstdio> using namespace std; int main() { double…