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;
}

(Visited 27 times, 1 visits today)

About the Author:

Leave A Comment