#competitive-programming
Read more stories on Hashnode
Articles with this tag
Problem PDF Solution: #include int main() { long long n; while (scanf("%lld",&n)==1) printf("%lld\n",((n*(n+2))/2)*3-6); return...
Problem PDF Solution: /****************************************************************** *** Problem : ...
Problem PDF Solution: #include int main() { long long int n,p; while(scanf("%lld",&n)!=EOF) { p=1; while(p=n) ...