Skip to content

Instantly share code, notes, and snippets.

@avevlad
Last active December 27, 2015 00:39
Show Gist options
  • Save avevlad/7239599 to your computer and use it in GitHub Desktop.
Save avevlad/7239599 to your computer and use it in GitHub Desktop.
#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