Please remve run time error in it ...it is theater problemof codechef fb long >>>> i have create 4 vevtor and put element in it and then from each vetor i find out max element which is not at particular position and then i calculate total sum

@kailash_01
brother it is against guidelines

@kailash_01
pls tell me what problem u r getting i will try to help u.if it is something just with syntax and not logical

@kailash_01
add curly braces around ur if statement
if(condition) {
ur statement
}