Not giving full points


I submitted in less than 50 sec, but it is giving me only 180 points. Whenever I click on the submit button, it opens hint automatically.
Here is my code:
include <bits/stdc++.h>
int Solution::gcd(int A, int B) {
return __gcd(A,B);


It may be because you are using library function


instead of using bits/stdc++.h header try using just algorithm


try using its basic form of code it would solve your problem