## IOI 2017 – Wiring Problem and Solution

The 29th International Olympiad in Informatics was held in Tehran, Iran in 2017. There were two competition days, with 3 problems given to the competitors on each day. You can see the Wiring problem and solutions below.

## IOI 2017 – Nowruz Problem and Solution

The 29th International Olympiad in Informatics was held in Tehran, Iran in 2017. There were two competition days, with 3 problems given to the competitors on each day. You can see the Nowruz problem and solutions below.

## Pointer – HackerRank Solution

Problem : A pointer in C is a way to share a memory address among different contexts (primarily functions). They are primarily used whenever a function needs to modify the content of a variable, of which it doesn’t have ownership. In order to access the

## Functions – HackerRank Solution

Problem : Functions are a bunch of statements glued together. A function is provided with zero or more arguments, and it executes the statements on it. Based on the return type, it either returns nothing (void) or something. A sample syntax for a function is For example, a

## For Loop – HackerRank Solution

Problem : A for loop is a programming language statement which allows code to be repeatedly executed. The syntax for this is expression_1 is used for initializing variables which are generally used for controlling terminating flag for the loop.

## Conditional Statements – HackerRank Solution

Problem : if and else are two of the most frequently used conditionals in C/C++, and they enable you to execute zero or one conditional statement among many such dependent conditional statements. We use them in the following ways: 1. if: This executes the

## Basic Data Types – HackerRank Solution

Problem : Some C++ data types, their format specifiers, and their most common bit widths are as follows: Int (“%d”): 32 Bit integer Long (“%ld”): 64 bit integer Char (“%c”): Character type Float

## Google Code Jam 2019 – Qualification Round Solutions (C++ and Python)

1. Foregone Solution – Problem A Problem : Someone just won the Code Jam lottery, and we owe them N jamcoins! However, when we tried to print out an oversized check, we encountered a problem. The value of N, which is an integer, includes at least one

## APIO 2019 Problems and Solutions

The official APIO 2019 problems and solutions in this post