FOOLS18G-Editorial

PROBLEM LINK:

Practice

Contest

Author: Harshit Mahajan

Tester: Harshit Mahajan and Aman Shahi

First To Solve: Ayush Agarwal

DIFFICULTY:

Special Problem : Medium-Hard

PROBLEM:

Capitals Of the Past

This is the last question. Read the description carefully.

HINTS:

Last question : was supposed to be solved after you read all the problems.
Description referred is the description of past problems.

Its description is scattered throughout the contest problems in the form of capitalized words hence the name “Capitals of the past”.
If you find all the capitalized words and arrange them then the description becomes:
LEAST PRIME LARGER THAN SUM OF INPUTS” which is pretty straightforward to do with a sieve.

I hope you enjoyed the contest, Thanks for participating.

SOLUTION

here