Language: C

#include<stdio.h>

int main(void){
	longlong a,b;
	longlong data;
	longlong max,min,high,low;	max=Ååöñ,min=Å¬ö{
	
	while(scanf("%lld %lld",&a,&b)==2){
		if(a<b){
			data=a;
			a=b;
			b=data;
		}
		if(b==0) max=a;
		else{
			data=a%b;
			low=b;
			while(data!=0){
				high=low;
				low=data;
				data=high%low;
			}
			max=low;
		}
		min=a*b/max;
		
		printf("%lld %lld\n",max,min);
	}
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:9: error: unknown type name 'longlong'
    4 |         longlong a,b;
      |         ^~~~~~~~
main.c:5:9: error: unknown type name 'longlong'
    5 |         longlong data;
      |         ^~~~~~~~
main.c:6:9: error: unknown type name 'longlong'
    6 |         longlong max,min,high,low;      max=Ååöñ,min=Å¬ö{
      |         ^~~~~~~~
main.c:6:45: error: stray '\302' in program
    6 |         longlong max,min,high,low;      max=<U+008D><U+00C5><U+0091><U+00E5><U+008C><U+00F6><U+0096><U+00F1><U+0090><U+0094>,min=<U+008D><U+00C5><U+008F><U+00AC><U+008C><U+00F6><U+0094>{<U+0090><U+0094>
      |                                             ^~~~~~~~
main.c:6:47: error: stray '\302' in program
    6 |         longlong max,min,high,low;      max=<U+008D><U+00C5><U+0091><U+00E5><U+008C><U+00F6><U+0096><U+00F1><U+0090><U+0094>,min=<U+008D><U+00C5><U+008F><U+00AC><U+008C><U+00F6><U+0094>{<U+0090><U+0094>
      |                                                             ^~~~~~~~
main.c:6:46: error: '\U000000c5' undeclared (first use in this function)
    6 |         longlong max,min,high,low;      max=Ååöñ,min=Å¬ö{
      |                                              ^
main.c:6:46: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:47: error: expected ';' before '\U000000e5'
    6 |         longlong max,min,high,low;      max=Ååöñ,min=Å¬ö{
      |                                               ^~
      |                                               ;
main.c:6:49: error: stray '\302' in program
    6 |         longlong max,min,high,low;      max=<U+008D><U+00C5><U+0091><U+00E5><U+008C><U+00F6><U+0096><U+00F1><U+0090><U+0094>,min=<U+008D><U+00C5><U+008F><U+00AC><U+008C><U+00F6><U+0094>{<U+0090><U+0094>
      |                                                                             ^~~~~~~~
main.c:6:51: error: stray '\302' in program
    6 |         longlong max,min,high,low;      max=<U+008D><U+00C5><U+0091><U+00E5><U+008C><U+00F6><U+0096><U+00F1><U+0090><U+0094>,min=<U+008D><U+00C5><U+008F><U+00AC><U+008C><U+00F6><U+0094>{<U+0090><U+0094>
      |                                                                                             ^~~~~~~~
main.c:6:53: error: stray '\302' in program
    6 |         longlong max,min,high,low;      max=<U+008D><U+00C5><U+0091><U+00E5><U+008C><U+00F6><U+0096><U+00F1><U+0090><U+0094>,min=<U+008D><U+00C5><U+008F><U+00AC><U+008C><U+00F6><U+0094>{<U+0090><U+0094>
      |                                                                                                             ^~~~~~~~
main.c:6:54: error: stray '\302' in program
    6 |         longlong max,min,high,low;      max=<U+008D><U+00C5><U+0091><U+00E5><U+008C><U+00F6><U+0096><U+00F1><U+0090><U+0094>,min=<U+008D><U+00C5><U+008F><U+00AC><U+008C><U+00F6><U+0094>{<U+0090><U+0094>
      |                                                                                                                     ^~~~~~~~
main.c:6:60: error: stray '\302' in program
    6 |         longlong max,min,high,low;      max=<U+008D><U+00C5><U+0091><U+00E5><U+008C><U+00F6><U+0096><U+00F1><U+0090><U+0094>,min=<U+008D><U+00C5><U+008F><U+00AC><U+008C><U+00F6><U+0094>{<U+0090><U+0094>
      |                                                                                                                                  ^~~~~~~~
main.c:6:62: error: stray '\302' in program
    6 |         longlong max,min,high,low;      max=<U+008D><U+00C5><U+0091><U+00E5><U+008C><U+00F6><U+0096><U+00F1><U+0090><U+0094>,min=<U+008D><U+00C5><U+008F><U+00AC><U+008C><U+00F6><U+0094>{<U+0090><U+0094>
      |                                                                                                                                                  ^~~~~~~~
main.c:6:63: error: stray '\302' in program
    6 |         longlong max,min,high,low;      max=<U+008D><U+00C5><U+0091><U+00E5><U+008C><U+00F6><U+0096><U+00F1><U+0090><U+0094>,min=<U+008D><U+00C5><U+008F><U+00AC><U+008C><U+00F6><U+0094>{<U+0090><U+0094>
      |                                                                                                                                                          ^~~~~~~~
main.c:6:64: error: stray '\302' in program
    6 |         longlong max,min,high,low;      max=<U+008D><U+00C5><U+0091><U+00E5><U+008C><U+00F6><U+0096><U+00F1><U+0090><U+0094>,min=<U+008D><U+00C5><U+008F><U+00AC><U+008C><U+00F6><U+0094>{<U+0090><U+0094>
      |                                                                                                                                                                  ^~~~~~~~
main.c:6:66: error: stray '\302' in program
    6 |         longlong max,min,high,low;      max=<U+008D><U+00C5><U+0091><U+00E5><U+008C><U+00F6><U+0096><U+00F1><U+0090><U+0094>,min=<U+008D><U+00C5><U+008F><U+00AC><U+008C><U+00F6><U+0094>{<U+0090><U+0094>
      |                                                                                                                                                                                  ^~~~~~~~
main.c:6:68: error: stray '\302' in program
    6 |         longlong max,min,high,low;      max=<U+008D><U+00C5><U+0091><U+00E5><U+008C><U+00F6><U+0096><U+00F1><U+0090><U+0094>,min=<U+008D><U+00C5><U+008F><U+00AC><U+008C><U+00F6><U+0094>{<U+0090><U+0094>
      |                                                                                                                                                                                           ^~~~~~~~
main.c:6:69: error: stray '\302' in program
    6 |         longlong max,min,high,low;      max=<U+008D><U+00C5><U+0091><U+00E5><U+008C><U+00F6><U+0096><U+00F1><U+0090><U+0094>,min=<U+008D><U+00C5><U+008F><U+00AC><U+008C><U+00F6><U+0094>{<U+0090><U+0094>
      |                                                                                                                                                                                                   ^~~~~~~~
main.c:31:1: error: expected declaration or statement at end of input
   31 | }
      | ^