GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 5 / 0 / 5
Functions: 100.0% 1 / 0 / 1
Branches: 50.0% 4 / 0 / 8

test/cpv/aizu-ntl/ntl_1_d.u32.cpp
Line Branch Exec Source
1 // competitive-verifier: PROBLEM https://onlinejudge.u-aizu.ac.jp/courses/library/6/NTL/all/NTL_1_D
2 #include "../../../src/nt/euler_phi/lib.hpp"
3
4 using namespace tifa_libs;
5 23 int main() {
6
1/2
✓ Branch 2 taken 23 times.
✗ Branch 3 not taken.
23 std::cin.tie(nullptr)->std::ios::sync_with_stdio(false);
7 u32 n;
8
1/2
✓ Branch 1 taken 23 times.
✗ Branch 2 not taken.
23 std::cin >> n;
9
2/4
✓ Branch 2 taken 23 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 23 times.
✗ Branch 6 not taken.
23 std::cout << euler_phi(n) << '\n';
10 23 return 0;
11 }
12