游客 Signup | Login
中文 | En

2408 - 三个数的和

写一个程序,计算123+321+123456值,并在计算机屏幕上输出,输出计算结果后再输出一个换行符。

Input

本题无输入。

Output

写一个程序,计算123+321+123456值,并在计算机屏幕上输出。

要求输出结果后再输出一个换行符。

Examples

Input

本题无输入样例

Output

123900

Solution C

#include<stdio.h>

int main()
{
	int a,b,c,d;
	a=123;
	b=321;
	c=123456;
	d=a+b+c;
	printf("%d\n",d);
	return 0;
}

Solution C++

#include<stdio.h>

int main()
{
	int a,b,c,d;
	a=123;
	b=321;
	c=123456;
	d=a+b+c;
	printf("%d\n",d);
    return 0;
} 
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题