test/cpv/aizu-ntl/ntl_1_a.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // competitive-verifier: PROBLEM https://onlinejudge.u-aizu.ac.jp/courses/library/6/NTL/all/NTL_1_A | ||
| 2 | #include "../../../src/io/fastin/lib.hpp" | ||
| 3 | #include "../../../src/io/fastout/lib.hpp" | ||
| 4 | #include "../../../src/nt/pfactors/lib.hpp" | ||
| 5 | |||
| 6 | using namespace tifa_libs; | ||
| 7 | 24 | int main() { | |
| 8 | u64 n; | ||
| 9 | 24 | fin_uint >> n; | |
| 10 | 24 | auto ans = pfactors<false>(n); | |
| 11 | 24 | fout << n << ":"; | |
| 12 |
2/2✓ Branch 7 taken 168 times.
✓ Branch 8 taken 24 times.
|
192 | for (auto k : ans) fout << ' ' << k; |
| 13 | 24 | fout << '\n'; | |
| 14 | 24 | return 0; | |
| 15 | 24 | } | |
| 16 |