test/cpv/library-checker-number_theory/kth_root_integer.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/kth_root_integer | ||
| 2 | #include "../../../src/math/iroot/kth/lib.hpp" | ||
| 3 | |||
| 4 | using namespace tifa_libs; | ||
| 5 | 15 | int main() { | |
| 6 |
1/2✓ Branch 2 taken 15 times.
✗ Branch 3 not taken.
|
15 | std::cin.tie(nullptr)->std::ios::sync_with_stdio(false); |
| 7 | i64 t; | ||
| 8 |
1/2✓ Branch 1 taken 15 times.
✗ Branch 2 not taken.
|
15 | std::cin >> t; |
| 9 |
2/2✓ Branch 0 taken 6803897 times.
✓ Branch 1 taken 15 times.
|
6803912 | while (t--) { |
| 10 | u64 x, k; | ||
| 11 |
2/4✓ Branch 1 taken 6803897 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 6803897 times.
✗ Branch 5 not taken.
|
6803897 | std::cin >> x >> k; |
| 12 |
2/4✓ Branch 2 taken 6803897 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 6803897 times.
✗ Branch 6 not taken.
|
6803897 | std::cout << ikth_root(x, k) << '\n'; |
| 13 | } | ||
| 14 | 15 | return 0; | |
| 15 | } | ||
| 16 |