Category: ACM

15
Feb
2017

Palindrome C code

http://dharanyadevi.blogspot.com/2012/04/palindrome-in-c-without-using-string.html

15
Feb
2017

String and Hackerearth

String Upper: #include<iostream> #include<string> #include<cstdio> using namespace std; void upper_string(char st[]); int main(){ char str[100]; cout<<“Enter string:…

13
Feb
2017

Vector in C++

Vector Codes: #include<iostream> #include<cstdio> #include<vector> using namespace std; int main(){ vector<int> v; v.push_back(1); v.push_back(2); v.push_back(3); v.push_back(4); for(int…

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…