Question: Amazon | SDE | 4th August 19
0
Entering edit mode

Count number of integral points in a polygon.

ADD COMMENTlink 4.7 years ago manas_kv 80
0
Entering edit mode

Its simple GCD problem.

#include<bits/stdc++.h>
using namespace std;
int main() {
  for (int i =0 ; i < n ;i ++) 
      cout << i <<  " gsdgs " << " yo " << << endl;

}

This gives gcd solution.

ADD COMMENTlink 4.7 years ago manas_kv 80

Login before adding your answer.

Similar Posts
Loading Similar Posts