Codeforces Round #421 (Div. 2), problem: (B) Mister B and Angle in Polygon Solution In C/C++

#include <iostream>

using namespace std;
int main(){
int n,m,q;
cin>>n>>m;
q=(n*m+90)/180+2;
if(q<n){
n=q;
}
if(n<3){
n=3;
}
cout<<“2 1 “<<n;
return 0;
}

Leave a Reply

Your email address will not be published. Required fields are marked *