HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > Epoka Science Olympiad 2016 > problem:


6-P1. 50881 - Exchange the Values

Epoka Science Olympiad 2016

Start: Apr.11.2016 at 02:07:57 PM
Finish: Apr.24.2016 at 05:00:00 AM
The contest is finished!
• Contest scoreboard

Contest problems

• 11-P3. 50908 - Buy 1 Get 1
• 11-P4. 50909 - Gold Coins
• 11-P5. 50910 - Flipping Coins
• 6-1. 50937 - Calculate the Average
• 6-2. 50938 - Translate Score into Gr...
• 6-3. 50975 - Cinema Tickets
• 6-4. 50942 - Win or Lose
• 6-5. 50943 - Word Game
• 6-P1. 50881 - Exchange the Val...
• 6-P3. 50883 - Win or Lose
• 6-P4. 50884 - Area and Perimeter Of...
• 6-P5. 50885 - Calculate the Average
• 7-1. 50945 - Bigger or Smaller
• 7-2. 50946 - Area of Rectangle
• 7-3. 50947 - Calculate the Average
• 7-4. 50948 - Translate Score into Gr...
• 7-5. 50949 - Vowel or Consonant

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.

Exchange the Value

Write a program that asks the user to type 2 integers A and B and exchange the value of A and B.

Input: In the first line you will get 2 different integers.

Output: After you exchange the values, you will display the values in the second line with a space between them..

Sample Input1:

Sample Input2:

4 6

-5 20

Sample  Output1:

Sample  Output2:

6 4

20 -5

 

Для отправки решений необходимо выполнить вход.

www.contester.ru