码迷,mamicode.com
首页 > 其他好文 > 详细

1000. A-B

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

标签:des   style   blog   http   io   color   ar   for   sp   

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

标签:des   style   blog   http   io   color   ar   for   sp   

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

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