1 solutions

  • 0
    @ 2025-11-5 20:15:32

    C :

    #include<stdio.h>
    
    int main(){
    	int a,b;
    	scanf("%c %c",&a,&b);
    	a=a+b;
    	b=a-b;
    	a=a-b;
    	printf("%c %c",a,b);
    	return 0;
    }
    

    C++ :

    #include<stdio.h>
    
    int main()
    {
    	char a,b,c,d;
    	scanf("%c %c",&a,&b);
    	c=a;
    	a=b;
    	b=c;
    	printf("%c %c\n",a,b);
    	return 0;
    }
    
    • 1

    Information

    ID
    20191
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By