Problem statement

From PC2wiki
Jump to: navigation, search

A problem statement is a description of the problem to be solved.

Problem statements typically contain a description of the problem, input and output files/methods and a sample of the input and output data.


Example Problem Statement

Title: Find the square

Input file name: square.in

Output: write to console (stdout)

Each input line has two integers, the last line contains two zeros. The output is the last two digits of result of raising the first number by the second number (exponentiation). Do not output the result of the last line (the two zeros). Output the two integers and the results on a single line.

Example Input

5 2
10 3000
2 8
0 0 

Example Output

5 2 15
10 3000 00
2 8 56