https://i0.wp.com/eblogarithm.com/wp-content/uploads/2017/08/Codeforces-Round-421-Div-2-problem-B-Mister-B-and-Angle-in-Polygon-Solution-In-CC1.png?fit=640%2C360

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 10 times, 1 visits today)



There are no comments

Add yours

Leave a Reply

%d bloggers like this: