sgu刷题笔记开篇 & 100 A+B

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/ShadowGhostH/article/details/80079288

其实说实在话我不太喜欢多线程作战的,目前的话我的想法是保持每周三周五的训练,周六没有事情的话也参加训练,然后按照组内布置的的分工重点突破一下图论和数据结构。

但是聚聚今天给我推荐了sgu,经过慎重的思考我决定维持原计划不变,在sgu中作为训练之余的训练去按顺序刷一下题目,然后此次算作一个开篇,这个和每天学一丢和CF和比赛训练不同,不定时学习更新,作为拔高。每天学一丢属于新知识点的总结记录,CF和比赛属于套题的训练和日常训练总结

然后就是sgu的第一题,A+B,和所有oj无异,不需要多组输入输出,签到成功。

100. A+B

time limit per test: 0.25 sec. 
memory limit per test: 65536 KB

Read integers A and B from input file and write their sum in output file.

Input

Input file contains A and B (0<A,B<10001).

Output

Write answer in output file.

扫描二维码关注公众号,回复: 3209518 查看本文章

Sample Input

5 3

Sample Output

8


#include<bits/stdc++.h>
using namespace std;

int main()
{
    int a, b;
    scanf("%d%d", &a, &b);
    printf("%d\n", a+b);
}

猜你喜欢

转载自blog.csdn.net/ShadowGhostH/article/details/80079288
今日推荐