[TIOJ] 1002. A+B Problem

題目連結:http://tioj.infor.org/problems/1002
基礎水題,學習基本io,用cin+cout或scanf+printf都可,我還是用習慣用的scanf+printf做
#include <stdio.h>

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

留言

這個網誌中的熱門文章

[TIOJ] 1902. 「殿仁.王,不認識,誰啊?」,然後他就死了……

[AtCoder] [經典競程 90 題] 024 - Select +/- One(★2)

[AtCoder] [經典競程 90 題] 022 - Cubic Cake(★2)