前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >1000. A-B

1000. A-B

作者头像
书童小二
发布2018-09-03 17:57:32
3550
发布2018-09-03 17:57:32
举报
文章被收录于专栏:前端儿前端儿

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

代码语言:javascript
复制
2 1

Sample Output

代码语言:javascript
复制
1
代码语言:javascript
复制
// 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;
}                                 
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2014-11-02 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Constraints
  • Description
  • Input
  • Output
  • Sample Input
  • Sample Output
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档