Welcome To SDIBT ACM-ICPC Online Judge

VIRTUAL JUDGE Recent Contest F.A.Qs Forum Home ProblemSet Status Ranklist Contest LoginRegister Exam
Problem 3609. -- C语言——交换变量值(选择结构)

C语言——交换变量值(选择结构)

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 3013  Solved: 1520
[Submit][Status][Forum]

Description

编写一个程序,从键盘输入三个整数给abc,然后交换它们中的数,把a中原来的值b,把b中原来的值给c,把c中原来的值给a

Input

Output

Sample Input

1,2,3

Sample Output

3,1,2

HINT

Source

[Submit][Status][Forum]

HOME Back

한국어 中文 English
All Copyright Reserved 2008-2010 SDIBT TEAM
GPL2.0 2003-2010 HUSTOJ Project TEAM
Anything about the Problems, Please Contact Admin:admin