MahmudulMaruf

Code · Faith · Curiosity

Blog Post

Beeecrowd- 2058 - Triangles and Regular Polygons

cpp �� 2023-07-18 22:01:30

cpp

Problem: 2058 - Triangles and Regular Polygons

Solution:

#include <bits/stdc++.h>
using namespace std; 
int main() { 
   int n; 
   cin>>n; 
   cout<<n-2<<endl;
   return 0;
}

Output Samples

Input
Output
31
42
53

Post Visited: 441 times

Categories: cpp

0 Comments

    No comments yet. Be the first to comment!

Leave a comment

Captcha