Skip to content

Instantly share code, notes, and snippets.

Last active Dec 27, 2015
What would you like to do?
#include <iostream>
#include <stdio.h>
using namespace std;
int main()
freopen("", "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