Programming, algorithms and data structures

with a focus on competitive programming

Main menu

Skip to content
  • Home
  • About

Search

Tag Archives: mistake

August 1, 2015

Can you spot the mistake – Part 5

Below is a C++ program that should print your name N times, where N is a number that is read in. However, it does not work as intended. Continue reading →

  • Posted in Uncategorized
  • Tagged C++, mistake
  • Leave a comment
July 30, 2015

Can you spot the mistake – Part 4

Below is a C++ program that calculates the square of an integer. However, it does not output the expected result. Continue reading →

  • Posted in Uncategorized
  • Tagged C++, mistake
  • Leave a comment
July 29, 2015

Can you spot the mistake – Part 3

Below is a Python 3.4 program that is supposed to return the number of digits of an integer. However, it does not work correctly. Continue reading →

  • Posted in Uncategorized
  • Tagged mistake, Python
  • Leave a comment
May 28, 2015

Can you spot the mistake – Part 2

Below is a Python 3.4 program that we want to translate into C++ 4.9.2. However, there is a mistake in the translation. Can you spot it? Continue reading →

  • Posted in training
  • Tagged C++, mistake
  • Leave a comment
May 14, 2015

Can you spot the mistake – Part 1

Below is a C++ program that compiles. However, it does not work as intended. Continue reading →

  • Posted in training
  • Tagged C++, mistake
  • Leave a comment

Post navigation

Recent Posts

  • New version of TopCoder Java Applet
  • Books for coding interviews
  • Practice algorithmic problems on Firecode IO
  • Books on competitive programming
  • How to Win Coding Competitions: Secrets of Champions

Archives

  • September 2019
  • September 2018
  • May 2018
  • March 2018
  • June 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • August 2015
  • July 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • October 2014
  • September 2014
  • August 2014
  • March 2013
  • February 2013

Online Judges

  • Codeforces
  • Codingbat
  • HackerRank
  • Leetcode
  • Projecteuler
  • TopCoder
  • Usaco

Categories

  • training
  • Uncategorized

Meta

  • Create account
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Programming, algorithms and data structures
    • Join 32 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Programming, algorithms and data structures
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
Design a site like this with WordPress.com
Get started