码迷,mamicode.com
首页 > 编程语言 > 详细

1102: 零起点学算法09——继续练习简单的输入和计算(a-b)

时间:2017-04-06 23:23:33      阅读:252      评论:0      收藏:0      [点我收藏+]

标签:problem   blog   sample   memory   time   copy   scan   整数   logs   

1102: 零起点学算法09——继续练习简单的输入和计算(a-b)

Time Limit: 1 Sec  Memory Limit: 520 MB   64bit IO Format: %lld
Submitted: 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 } 

 

1102: 零起点学算法09——继续练习简单的输入和计算(a-b)

标签:problem   blog   sample   memory   time   copy   scan   整数   logs   

原文地址:http://www.cnblogs.com/dddddd/p/6675898.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!