1102: 零起点学算法09——继续练习简单的输入和计算(a-b)
1102: 零起点学算法09——继续练习简单的输入和计算(a-b)
Time Limit: 1 Sec Memory Limit: 520 MB 64bit IO Format: %lldSubmitted: 2810 Accepted: 2161
[Submit][Status][Web Board]
Description
简单吧,不用多说了
Input
输入2个整数a,b,用空格隔开
Output
输出a-b的值
Sample Input
10 5
Sample Output
5
Source
1 #include<stdio.h> 2 int main() 3 { 4 int a,b,c; 5 scanf("%d%d",&a,&b); 6 c=a-b; 7 printf("%d\n",c); 8 }