#include <bits/stdc++.h>std::map<unsigned long long, unsigned> prime_factorize(unsigned long long x) { std::map<unsigned long long, unsigned> ret; for (unsigned i = 2; 1ULL * i * i <= x; i++) { while (x % i == 0) x /= i, ret[i]++; } if (x != 1) ret[x]++; return ret;}
Standard input is empty
/usr/lib/gcc/i586-linux-gnu/5/../../../i386-linux-gnu/crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: error: ld returned 1 exit status
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!