Category Archives: ACM-ICPC

CP Resource

https://www.quora.com/What-are-some-good-resources-to-learn-C++-for-competitive-programming

http://blog.macacm.org/2016/06/courses-and-resources-to-excel-in.html

https://www.quora.com/What-was-Anudeep-Nekkantis-Competitive-Programming-strategy-to-become-35th-in-Global-ranking-in-just-6-7-months

 

http://www.spoj.com/problems/ARRAYSUB/

 

From beginner to expert in competitive programming.

https://www.quora.com/What-are-some-good-courses-on-competitive-programming

Algorithms

https://algo.is/

https://www.quora.com/Can-I-become-a-really-good-self-taught-programmer

Notes and courses for competitive programming

https://www.quora.com/India-Im-yellow-on-Topcoder-the-best-in-my-college-I-am-a-3rd-year-ECE-B-tech-student-with-arrears-and-I-have-CGPA-of-4-0-on-a-scale-of-10-0-I-have-immense-hatred-towards-my-ECE-branch-Im-afraid-I-might-not-get-placed-because-of-my-low-CGPA-What-should-I-do

Course:

https://www.udemy.com/introduction-to-algorithms-and-data-structures-in-c/

https://www.udemy.com/from-0-to-1-c-programming/

https://www.quora.com/How-did-Anudeep-Nekkanti-become-so-good-at-competitive-programming

Programming Contest Time Waste or Benefitted ?

http://stackoverflow.com/questions/3024972/problem-solving-algorithm-skill-is-a-knack-or-can-be-developed-with-practice

 

 

URI Online Judge | 1030 Flavious Josephus Legend

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

 

Outsbook Problem Soln

Some I tried before:
102 Divisor

Father Daughter Age Problem Maybe It is 7-10th grade problem:
Hints: http://www.jiskha.com/display.cgi?id=1290327598

Mina Rina

 

Palindrome C code

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

String and Hackerearth

String Upper:

String Lower:

Lower Upper Both:

Hackerearth Problem:: Toggle String

Another Approach:

Another Approach:

 

Helpful Link: http://www.programmingsimplified.com/c/program/c-program-change-case

Vector in C++

Vector Codes:

Vector Copy:

String:

Stack:

Queue :

Priority Queue:

Iterator:

Set:

Map:

String Stream:

Good websites for learning by example:
http://www.sanfoundry.com/cpp-program-implement-vector-stl/

http://www.progkriya.org/gyan/stl.html

A good Array Example

Hackerrank problem:

 

Feelings Sharing

It was my last chance for participating in ACM ICPC Dhaka Regional Siteprogramming contest but as I am out of practice for last 2 semesters I didn’t even sit for preliminary round..I am not so good at problem solving but adhoc type problems became my favorite for last 2 years. I tried to learn ACM problem solving from my respected senior brothers, my batch mate buddies and my beloved juniors for last two years. It seemed to me very tough but I tried to be very regular at ACM Training classes during my undergrad life alongside with my academic life.

I personally believe that learning programming is a life time issue. It has starting point but no finishing line. I have a deep wish to learn these awesome things in future if Allah wills. Please keep me in your prayers for that and expressing my heartfelt wishes and prayers for today’s ICPC contestants <3 🙂

#feelings_sharing
#acm_icpc_2016
#undergrad_life
#last_semester

ACM Frustrations

That might be faced by almost everyone.

https://www.facebook.com/groups/bengaliprogramming/permalink/615925351912675/

Competitive Programming Motivation

http://www.thedailystar.net/shout/cover-story/competitive-programming-where-computer-geeks-become-gladiators-1222453

How to count numbers from string ?

code:

 

Swap in C

Swap in C

 

UVA 12541-Birthdates Solutions

Took hints from here:
http://www.outsbook.com/uva/?page=latest_post&category=-1&id=12541
and https://github.com/morris821028/UVa/blob/master/volume125/12541%20-%20Birthdates.cpp
Code:

Some links for future use:
http://reza22cse.blogspot.com/2014/01/uva-12541-birthdates.html
https://github.com/dibery/UVa/blob/master/contest/vol125/12541.cpp
https://gist.github.com/I-See-You/e8066e0b3a2ffbf5430e
http://ajmarin.alwaysdata.net/codes/problems/1501/

UVA 11479 – Is this the easiest problem?

Accepted code:

I have tested with some critical input after implementing the first logic and also read the condition for testcases .It is very important to make it accepted.

Critical input:
4
100 200 300
500 501 502
1000000000 1000000001 1000000002
963 852 741

Critical output:
Case 1: Invalid
Case 2: Scalene
Case 3: Scalene
Case 4: Scalene