View Code of Problem 87

#include<bits/stdc++.h>
using namespace std;
int main(){
	int a,x=0,y=0;
	cin>>a;
	if(a%2==0){
		x=a/4;
		y=a/2;
	}
	cout<<x<<' '<<y<<endl;
}

Double click to view unformatted code.


Back to problem 87