My issue
My code
T = int(input())
for _ in range(T):
X,Y,Z = map(int, input().split())
K = max(X,Y,Z)
if K==X:
print("setter")
if K==Y:
print("Tester")
if(K==Z):
print("Editorlist")
Problem Link: SPECIALITY Problem - CodeChef
/* package codechef; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Codechef
{
public static void main (String[] args) throws java.lang.Exception
{
// your code goes here
Scanner sc=new Scanner(System.in);
int t=sc.nextInt();
while(t-->0){
int x=sc.nextInt();
int y=sc.nextInt();
int z=sc.nextInt();
int res=Math.max(x,(Math.max(y,z)));
if(res==x){
System.out.println("Setter");
}else if(res==y){
System.out.println("Tester");
}else{
System.out.println("Editorialist");
}
}
}
}
@anki_1710 - thanks for reporting this - will get this checked out.