POJ 1000:两数之和

这个题目的目的主要是让我们熟悉POJ这个平台是怎么使用的,第一个题目1000的解答过程如下:

#include <stdio.h>

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

这段C程序既能够进行标准的输入。也能够进行标准的输出。

posted @ 2020-06-21 14:26  Geeksongs  阅读(303)  评论(0编辑  收藏  举报

Coded by Geeksongs on Linux

All rights reserved, no one is allowed to pirate or use the document for other purposes.