首页 > 其他 > 详细

1000. A-B

时间:2014-11-02 16:19:08      阅读:275      评论:0      收藏:0      [点我收藏+]

1000. A-B

-----》 http://soj.me/1000

 

Constraints

Time Limit: 1 secs, Memory Limit: 32 MB                                           

Description

Input A and B, output A-B

 

Input

Input two values, A and B.

 

Output

Output the result of A-B.

 

Sample Input

2 1

                                        

Sample Output

1


// Problem#: 1000
// Submission#: 2424748
// The source code is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License
// URI: http://creativecommons.org/licenses/by-nc-sa/3.0/
// All Copyright reserved by Informatic Lab of Sun Yat-sen University
#include <stdio.h>
int main()
{
    int A,B;
    scanf("%d%d",&A,&B);
    printf("%d\n",A-B);
    return 0;
}                                 

 

1000. A-B

原文:http://www.cnblogs.com/imwtr/p/4069372.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!