Skip to content

Instantly share code, notes, and snippets.

View AnshulBasia's full-sized avatar

Anshul Basia AnshulBasia

  • Indian Institute of Technology,Delhi
  • Delhi,India
View GitHub Profile
#include <iostream>
#include <cmath>
using namespace std;
long long divisorsum(long long a)
{
long long ans=1;
for(int i=2;i<=pow(a,.5);i++)
{
if(a%i==0)