Skip to content

Instantly share code, notes, and snippets.

@avevlad
Last active Dec 27, 2015
Embed
What would you like to do?
#include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
freopen("apbtest.in", "r", stdin);
freopen("apbtest.out", "w", stdout);
int c;
cin >> c;
int a = c / 2;
cout << a << " " << c - a;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment