Sunday, July 6, 2014

usaco Submitting solutions - Sum the numbers solution

usaco TEXT Submitting solutions - Sum the numbers:

usaco TEXT Submitting solutions - Sum the numbers solution:


/*
ID: [your usacogate ID here]
PROG: test
LANG: C++
*/
#include <iostream>
#include <cstdio>
#include <fstream>
using namespace std;

int main() {
    freopen("test.in", "r", stdin);
    freopen("test.out", "w", stdout);
    int a, b;
    scanf("%d%d", &a, &b);
    printf("%d\n", a+b);
    return 0;
}

No comments:

Post a Comment