AOJ0595 Schedule

Schedule | Aizu Online Judge

Introduction to Programming Introduction to Algorithms and Data Structures Library of Data Structures Library of Graph Algorithms Library of Computational Geometry Library of Dynamic Programming Library of Number Theory

Read on →
Mar 6th, 2016

AOJ0594 Super Metropolis

Super Metropolis | Aizu Online Judge

Introduction to Programming Introduction to Algorithms and Data Structures Library of Data Structures Library of Graph Algorithms Library of Computational Geometry Library of Dynamic Programming Library of Number Theory

Read on →
Mar 6th, 2016
aoj

AOJ0590 Available Areas

Available Areas | Aizu Online Judge

Introduction to Programming Introduction to Algorithms and Data Structures Library of Data Structures Library of Graph Algorithms Library of Computational Geometry Library of Dynamic Programming Library of Number Theory

Read on →
Mar 6th, 2016
aoj

AOJ0585 Nearest Two Points

Nearest Two Points | Aizu Online Judge

Introduction to Programming Introduction to Algorithms and Data Structures Library of Data Structures Library of Graph Algorithms Library of Computational Geometry Library of Dynamic Programming Library of Number Theory

Read on →
Mar 6th, 2016

AOJ0584 Two Number Cards

Two Number Cards | Aizu Online Judge

Introduction to Programming Introduction to Algorithms and Data Structures Library of Data Structures Library of Graph Algorithms Library of Computational Geometry Library of Dynamic Programming Library of Number Theory

Read on →
Mar 5th, 2016
aoj

SRM683 D2H SubtreesCounting

TopCoder Statistics - Problem Statement

You are given an undirected tree T. (The input format is specified below.) The vertices of the tree are numbered 0 through n-1. A subtree of T is any subgraph of T that is connected. The size of a subtree is the number of vertices it contains.

Read on →
Mar 4th, 2016

SRM683 D2M MoveStonesEasy

TopCoder Statistics - Problem Statement

There are n piles of stones arranged in a line. The piles are numbered 0 through n-1, in order. In other words, for each valid i, piles i and i+1 are adjacent. You are given two int[]s a and b, each with n elements.

Read on →

Manthan, Codefest 16D Fibonacci-ish

Problem - D - Codeforces

Yash has recently learnt about the Fibonacci sequence and is very excited about it. He calls a sequence Fibonacci-ish if You are given some sequence of integers . Your task is rearrange elements of this sequence in such a way that its longest possible prefix is Fibonacci-ish sequence.

Read on →

Manthan, Codefest 16C Spy Syndrome 2

Problem - C - Codeforces

After observing the results of Spy Syndrome, Yash realised the errors of his ways. He now believes that a super spy such as Siddhant can't use a cipher as basic and ancient as Caesar cipher. After many weeks of observation of Siddhant's sentences, Yash determined a new cipher technique.

Read on →
Feb 29th, 2016

Manthan, Codefest 16B a Trivial Problem

Problem - B - Codeforces

Mr. Santa asks all the great programmers of the world to solve a trivial problem. He gives them an integer m and asks for the number of positive integers n, such that the factorial of n ends with exactly m zeroes. Are you among those great programmers who can solve this problem?

Read on →
Feb 29th, 2016