Problems for Beginners

Toph

Problem For Beginners (Is Palindrome)

1200 630 Contest Hack

Given a word, print Yes if it is a palindrome, otherwise No. A palindrome is a word which reads the same backward as forward, e.g. racecar. Input The input will…

read more
Toph

Formatted Numbers

1200 630 Contest Hack

Read an integer variable and print it in which the digits are separated into groups of three by commas. Input The input will contain an integer $A$ ($0 \le A…

read more
Toph

Add Them Up

1200 630 Contest Hack

Read two integer variables, calculate their sum, and print it. Input The input will contain two integers $A$ and $B$ ($-20000000 < A, B < 20000000$). Output Print the sum…

read more