Help me in solving LJAJAG21 problem

My issue

my code is correct but why the compiler didnt except it

My code

#include <stdio.h>

int main() {
	// your code goes here
	int a=45,b=83;
	
	// swapping with using third variable

printf(" a = %d, b = %d\n ", a , b);
int temp;
temp=a;
a=b;
b=temp;
printf(" a=%d,b=%d\n",a,b);

 a=45;
 b=83;
	//swapping without using third variable 
a=a+b;
b=a-b;
a=a-b;
printf(" a=%d,b=%d\n",a,b);
return 0;
    }


Learning course: Learn C Programming
Problem Link: https://www.codechef.com/learn/course/rcpit-programming-c/RCPITLPC07/problems/LJAJAG21