Help me debugging

My issue

My code

#include <iostream>
using namespace std;

int main() {
	int t;
	cin>>t;
	while(t--){
	    int t1,A,B,C;
	    cin>>A>>B>>C;
	    if (A>B && A>C){
	        t1 == A+ max(B,C);
	        
	    }
	    else if(B>A && B>C){
	        t1 == B + max(A,C);
	        
	    }
	    else{
	        t1 == C + max(A,B);
	       
	    }
	    cout<<t1<<endl;
	    
	    
	}
	return 0;
}

Problem Link: CodeChef: Practical coding for everyone

It should be -
t1 “=” not “==”
= → is an assignment operator
== → is a conditional operator