Help me fix the bug

My issue

Some glitch or bug my code is working and simple to print max of three numbers but it’s not working and no output is being generated.

My code

// Jai Mahakaal ~ hacker_ap

#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
#define yes cout << "YES\n";
#define no cout << "NO\n";
#define ar Array;
#define PI 3.1415926535897932384626433832795l
const int MAX_N = 1e5 + 5;
const ll MOD = 1e9 + 7;
const ll INF = 1e9;
const ld EPS = 1e-9;

void ap_solves()
{
    // Solved Here.
    int n1, n2, n3;
    cin >> n1 >> n2 >> n3;
    cout << "hello";
    if (n1 > n2 && n1 > n3)
        cout << n1 << endl;
    else if (n2 > n1 && n2 > n3)
        cout << n2 << endl;
    else if (n3 > n1 && n3 > n2)
        cout << n3 << endl;
    else
        cout << n1 << endl;

    return;
}

int main()
{
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);

    for (int tc; tc > 0; tc--)
        ap_solves();

    return 0;
}

Problem Link: Discus Throw Practice Coding Problem - CodeChef