criyle/codenet-compile-errors huggingface dataset:
Language: C

#include<stdio.h>
int main()
{
    int a,b,c,d,e,f,x,y;
    printf("Enter number:");
    scanf("%d%d",&x,&y);
    if(f(-1,000 ? a, b, c, d, e, f ? 1,000)!=EOF)
    {

        printf("%d%d",ax +by = c);
        printf("%d%d",dx + ey = f);
    }
    else
        printf("Input invalid");
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:43: error: expected ':' before ')' token
    7 |     if(f(-1,000 ? a, b, c, d, e, f ? 1,000)!=EOF)
      |                                           ^
      |                                           :
main.c:7:8: error: called object 'f' is not a function or function pointer
    7 |     if(f(-1,000 ? a, b, c, d, e, f ? 1,000)!=EOF)
      |        ^
main.c:4:19: note: declared here
    4 |     int a,b,c,d,e,f,x,y;
      |                   ^
main.c:10:23: error: 'ax' undeclared (first use in this function); did you mean 'x'?
   10 |         printf("%d%d",ax +by = c);
      |                       ^~
      |                       x
main.c:10:23: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:27: error: 'by' undeclared (first use in this function); did you mean 'y'?
   10 |         printf("%d%d",ax +by = c);
      |                           ^~
      |                           y
main.c:11:23: error: 'dx' undeclared (first use in this function); did you mean 'x'?
   11 |         printf("%d%d",dx + ey = f);
      |                       ^~
      |                       x
main.c:11:28: error: 'ey' undeclared (first use in this function); did you mean 'y'?
   11 |         printf("%d%d",dx + ey = f);
      |                            ^~
      |                            y
Language: C

#include<stdio.h>


int main(void){

	float a,b,c,d,e,f,x,y;

	scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)
		x=(f-e*c/b)/(d-e*a/b);
		y=(c-a*x)/b;
		printf("%.3f %.3f\n",x,y);


	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:53: error: expected ';' before 'x'
    8 |         scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)
      |                                                     ^
      |                                                     ;
    9 |                 x=(f-e*c/b)/(d-e*a/b);
      |                 ~
Language: C

//

#include "stdafx.h"


int main()
{
	double a[7];
	int i;
	int flag = 1;
	double x, y;

	while (flag) {

		for (i = 0; i < 6;i++) {
			scanf("%lf",&a[i]);
		}
		if (i == 6) {
			if (getchar() != '\n') {
				flag = 0;
			}
			else {
				flag = 1;
			}
		}

		y = (a[5] - a[3] * a[2] / a[0]) / (-a[3] * a[1] / a[0] + a[4]);
		x = (a[2] / a[0]) - a[1] * ((a[5] - a[3] * a[2] / a[0]) / (-a[3] * a[1] / a[0] + a[4])) / a[0];

		printf("%.3f %.3f\n", x, y);

	}
	return 0;
}

Compiler output:
main.c:3:10: fatal error: stdafx.h: No such file or directory
    3 | #include "stdafx.h"
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>

int main(void){

float a,b,c,d,e,f;
while(scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=EOF){
x=(c*e-b*f)/(a*e-b*d);
y=(f-d*x)/e;

printf("%.3f %f.3\n",x,y);
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: 'x' undeclared (first use in this function)
    7 | x=(c*e-b*f)/(a*e-b*d);
      | ^
main.c:7:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:1: error: 'y' undeclared (first use in this function)
    8 | y=(f-d*x)/e;
      | ^
Language: C

#include<stdio.h>
int main(void){
float a,b,c,d,e,f,g,h;
scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f);
g=b;
h=c;
b=b*d-e*a;//y????????°

c=c*d-f*a;

b=c/b;/y????§£

g=(h-g*b)/a;//x????§£
printf("%.4f %.4f\n",b,g);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:7: error: expected expression before '/' token
   11 | b=c/b;/y????§£
      |       ^
main.c:11:13: error: stray '\302' in program
   11 | b=c/b;/y????<U+00A7><U+00A3>
      |             ^~~~~~~~
main.c:11:14: error: stray '\302' in program
   11 | b=c/b;/y????<U+00A7><U+00A3>
      |                     ^~~~~~~~
Language: C

#include<stdio.h>

int main(void){
while(scanf("%d %d %d %d %d %d\n",&a,&b,&c,&d,&e,&f)!=EOF){
double x,y;
x=(c*e-b*f)/(a*e-b*d),y=(a*f-c*d)/(a*e-b*d);
printf("%.3f %.3f\n",x,y);
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:36: error: 'a' undeclared (first use in this function)
    4 | while(scanf("%d %d %d %d %d %d\n",&a,&b,&c,&d,&e,&f)!=EOF){
      |                                    ^
main.c:4:36: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:39: error: 'b' undeclared (first use in this function)
    4 | while(scanf("%d %d %d %d %d %d\n",&a,&b,&c,&d,&e,&f)!=EOF){
      |                                       ^
main.c:4:42: error: 'c' undeclared (first use in this function)
    4 | while(scanf("%d %d %d %d %d %d\n",&a,&b,&c,&d,&e,&f)!=EOF){
      |                                          ^
main.c:4:45: error: 'd' undeclared (first use in this function)
    4 | while(scanf("%d %d %d %d %d %d\n",&a,&b,&c,&d,&e,&f)!=EOF){
      |                                             ^
main.c:4:48: error: 'e' undeclared (first use in this function)
    4 | while(scanf("%d %d %d %d %d %d\n",&a,&b,&c,&d,&e,&f)!=EOF){
      |                                                ^
main.c:4:51: error: 'f' undeclared (first use in this function)
    4 | while(scanf("%d %d %d %d %d %d\n",&a,&b,&c,&d,&e,&f)!=EOF){
      |                                                   ^
Language: C

#include <stdio.h>

int main(void){
int a,b,c,d,e,f;
double x,y;
while(scanf("%d %d %d %d %d %d\n",&a,&b,&c,&d,&e,&f)!=EOF)
{
x=(c*e-b*f)/(a*e-b*f),y=(a*f-c*d)/(a*e-b*f);
x=((int)(1000*x+0.5))/1000,y=((int)(1000*y+0.5))/1000
printf("%.3f %.3f\n",x,y);
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:54: error: expected ';' before 'printf'
    9 | x=((int)(1000*x+0.5))/1000,y=((int)(1000*y+0.5))/1000
      |                                                      ^
      |                                                      ;
   10 | printf("%.3f %.3f\n",x,y);
      | ~~~~~~
Language: C

#include <iostream>
#include <stdio.h>
using namespace std;

int main(){
  int a, b, c, d, e, f;
  double x, y;

  while(cin >> a >> b >> c >> d >> e >> f){

    x = (c*e-b*f) / (a*e-b*d);
    y = (f-d*x) / e;

    printf("%.3f %.3f\n", x, y);

  }


  return 0;
}

Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

include <stdio.h>
int main (void) {
  double a, b, c, d, e, f;
  double x=0, y=0;
  scanf("%lf %lf %lf %lf %lf %lf", &a, &b, &c, &d, &e, &f);
  x = (f*b-c*e)/(b*d-a*e);
  y = (c-a*x)/b;
  printf("%.3f %.3f\n", x, y);

  return 0;
}

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

#include<stdio.h>
#include<stdlib.h>
int main(){
	int a,b,c,d,e,f;
	float x,y;
	while(scanf("%d%d%d%d%d%d",&a,&b,&c,&d,&e,&f)!=EOF){
		if((b>=0&&e>=0)||(b<0&&e<0)){
			x=(c*abs(e)-f*abs(b))/(a*abs(e)-d*abs(b));
		}
		else{
			x=(c*abs(e)+f*abs(b))/(a*abs(e)+d*abs(b));
		}
		y=(c-a*x)/b;]
		if(-0.0005<x && x<=0)x=0;
		if(-0.0005<y && y<=0)y=0;
		printf("%1.3f %1.3f\n",x,y);
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:29: error: expected statement before ']' token
   13 |                 y=(c-a*x)/b;]
      |                             ^
Language: C

#include <stdio.h>
int main(){
	int aa,bb,cc,dd,ee,ff;
	double x,y;
	while(scanf("%d %d %d %d %d %d",&aa ,&bb ,&cc, &dd, &ee ,&ff)){
		double a=aa,b=bb,c=cc,d=dd,e=ee,f=ff;
		double tmp=(d/e)-(a/b);
		x=((f/e)-(c/b))/tmp;
		y=(c-(a*x))/b;
		x=x*1000;y=y*1000;
		if(x<0)		x-=0.5;
		else 		x+=0.5;
		if(y<0)		y-=0.5;
		else		y+=0.5;
		x=int(x);y=int(y);
		x/=1000;
		y/=1000;
		printf("%.3lf %.3lf\n", x , y );
	}
}

Compiler output:
main.c: In function 'main':
main.c:15:19: error: expected expression before 'int'
   15 |                 x=int(x);y=int(y);
      |                   ^~~
main.c:15:28: error: expected expression before 'int'
   15 |                 x=int(x);y=int(y);
      |                            ^~~
Language: C

#include <stdio.h>
int main(){
	int aa,bb,cc,dd,ee,ff;
	double x,y;
	while(scanf("%d %d %d %d %d %d",&aa ,&bb ,&cc, &dd, &ee ,&ff)){
		double a=aa,b=bb,c=cc,d=dd,e=ee,f=ff;
		double tmp=(d/e)-(a/b);
		x=((f/e)-(c/b))/tmp;
		y=(c-(a*x))/b;
		x=x*1000;y=y*1000;
		if(x<0)		x-=0.5;
		else 		x+=0.5;
		if(y<0)		y-=0.5;
		else		y+=0.5;
		x=int(x);y=int(y);
		x/=1000;
		y/=1000;
		printf("%.3lf %.3lf\n", x , y );
	}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:15:19: error: expected expression before 'int'
   15 |                 x=int(x);y=int(y);
      |                   ^~~
main.c:15:28: error: expected expression before 'int'
   15 |                 x=int(x);y=int(y);
      |                            ^~~
Language: C

#include<stdio.h>

int main()
{
	double a,b,c,d,e,f,i,x,y;
	double x=c*e-b*f/a*f-b*d;
	double y=a*c-d*c/a*f-b*d;
	scanf("%d %d %d %d %d %d\n",&a,&b,&c,&d,&e,&f);
	printf("%.3lf %.3lf\n",x,y);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:16: error: redeclaration of 'x' with no linkage
    6 |         double x=c*e-b*f/a*f-b*d;
      |                ^
main.c:5:30: note: previous declaration of 'x' with type 'double'
    5 |         double a,b,c,d,e,f,i,x,y;
      |                              ^
main.c:7:16: error: redeclaration of 'y' with no linkage
    7 |         double y=a*c-d*c/a*f-b*d;
      |                ^
main.c:5:32: note: previous declaration of 'y' with type 'double'
    5 |         double a,b,c,d,e,f,i,x,y;
      |                                ^
Language: C

#include <stdio.h>

/*

??£???????¨????

ax+by=c
dx+ey=f

????§£???x, y ???????????????????????°?????????????????????????????????a, b, c, d, e, f ??????
???????????? -1,000 ??\??? 1,000 ??\???????????°??¨????????£???????¨????????§£?????????????????¨
??????????????????????????????????????¨????????????

Input
?????°???????????????????????????????????????????????\?????????????????§????????????????????????1??????
?????????????????????1???????????????????????????1??????????????????????????? a, b, c, d, e, f 
???1????????????????????§????????????????????????????????????

Output
????????????????????????????????????x, y ???1????????????????????§????????£???1?????????????????????
???????????????????°???°?????\????¬¬3????????§?????????????????????????°???°?????\????¬¬4???????????¨???
??\??????????????????

*/

//
//	??£???2???????¬?????¨????(?????\??° x, y????????° a, b, c, d, e, f )
//	
//		ax + by = c
//		dx + ey = f
//	
//	?§£
//
//		x = ( c * e - b * f ) / ( a * e - b * d )
//		y = ( f * a - c * d ) / ( a * e - d * b )



int main( void )
{
	int a, b, c, d, e, f;
	
	double x, y;
	
	scanf( "%d %d %d %d %d %d ", &a, &b, &c, &d, &e, &f );
	
	x = ( double )( c * e - b * f ) / ( double )( a * e - b * d )
	y = ( double )( f * a - c * d ) / ( double )( a * e - d * b )
	
	printf( "%lf %lf\n", x, y );
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:47:70: error: expected ';' before 'y'
   47 |         x = ( double )( c * e - b * f ) / ( double )( a * e - b * d )
      |                                                                      ^
      |                                                                      ;
   48 |         y = ( double )( f * a - c * d ) / ( double )( a * e - d * b )
      |         ~
Language: C

#include <stdio.h>

/*

??£???????¨????

ax+by=c
dx+ey=f

????§£???x, y ???????????????????????°?????????????????????????????????a, b, c, d, e, f ??????
???????????? -1,000 ??\??? 1,000 ??\???????????°??¨????????£???????¨????????§£?????????????????¨
??????????????????????????????????????¨????????????

Input
?????°???????????????????????????????????????????????\?????????????????§????????????????????????1??????
?????????????????????1???????????????????????????1??????????????????????????? a, b, c, d, e, f 
???1????????????????????§????????????????????????????????????

Output
????????????????????????????????????x, y ???1????????????????????§????????£???1?????????????????????
???????????????????°???°?????\????¬¬3????????§?????????????????????????°???°?????\????¬¬4???????????¨???
??\??????????????????

*/

//
//	??£???2???????¬?????¨????(?????\??° x, y????????° a, b, c, d, e, f )
//	
//		ax + by = c
//		dx + ey = f
//	
//	?§£
//
//		x = ( c * e - b * f ) / ( a * e - b * d );
//		y = ( f * a - c * d ) / ( a * e - d * b );



int main( void )
{
	int a, b, c, d, e, f;
	
	double x, y;
	
	scanf( "%d %d %d %d %d %d ", &a, &b, &c, &d, &e, &f );
	
	x = ( double )( c * e - b * f ) / ( double )( a * e - b * d )
	y = ( double )( f * a - c * d ) / ( double )( a * e - d * b )
	
	printf( "%lf %lf\n", x, y );
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:47:70: error: expected ';' before 'y'
   47 |         x = ( double )( c * e - b * f ) / ( double )( a * e - b * d )
      |                                                                      ^
      |                                                                      ;
   48 |         y = ( double )( f * a - c * d ) / ( double )( a * e - d * b )
      |         ~
Language: C

#include<stdio.h)

int main(){

int i,n=0,a,b,c,d,e,f;
double x[100],y[100];

while(scanf("%d %d %d %d %d %d",&a ,&b ,&c ,&d ,&e ,&f )!=EOF){

x[n]=(double)((a*c-b*f)/(a*e-b*d));
y[n]=(double)((d*c-a*f)/(b*d-a*e));

n++;

}

for(i=0;i<n;i++){
printf("%5f %5f",x[i],y[y]);
}

return 0;
}

Compiler output:
main.c:1:18: error: missing terminating > character
    1 | #include<stdio.h)
      |                  ^
main.c:1:9: fatal error: stdio.h): No such file or directory
    1 | #include<stdio.h)
      |         ^
compilation terminated.
Language: C

#include<stdio.h>

int main(){

int i,n=0,a,b,c,d,e,f;
double x[100],y[100];

while(scanf("%d %d %d %d %d %d",&a ,&b ,&c ,&d ,&e ,&f )!=EOF){

x[n]=(double)((a*c-b*f)/(a*e-b*d));
y[n]=(double)((d*c-a*f)/(b*d-a*e));

n++;

}

for(i=0;i<n;i++){
printf("%5f %5f",x[i],y[y]\n);
}

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:18:24: error: array subscript is not an integer
   18 | printf("%5f %5f",x[i],y[y]\n);
      |                        ^
main.c:18:27: error: stray '\' in program
   18 | printf("%5f %5f",x[i],y[y]\n);
      |                           ^
main.c:18:27: error: expected ')' before 'n'
   18 | printf("%5f %5f",x[i],y[y]\n);
      |       ~                   ^~
      |                           )
Language: C

#include<stdio.h>

int main(){

int i,n=0,a,b,c,d,e,f;
double x[100],y[100];

while(scanf("%d %d %d %d %d %d",&a ,&b ,&c ,&d ,&e ,&f )!=EOF){

x[n]=(double)((a*c-b*f)/(a*e-b*d));
y[n]=(double)((d*c-a*f)/(b*d-a*e));

n++;

}

for(i=0;i<n;i++){
printf("%5f %5f\n",x[i],y[y]);
}

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:18:26: error: array subscript is not an integer
   18 | printf("%5f %5f\n",x[i],y[y]);
      |                          ^
Language: C

#include<stdio.h>
 
int main(){
 
int i,n=0,a,b,c,d,e,f;
float x[100],y[100];
 
while(scanf("%d %d %d %d %d %d",&a ,&b ,&c ,&d ,&e ,&f )!=EOF){
 
x[n]=(float)((a*c-b*f)/(a*e-b*d));
y[n]=(float)((d*c-a*f)/(b*d-a*e));
 
n++;
 
}
 
for(i=0;i<n;i++){
printf("%5f %5f\n",x[i],y[y]);
}
 
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:18:26: error: array subscript is not an integer
   18 | printf("%5f %5f\n",x[i],y[y]);
      |                          ^
Language: C

include<stdio.h>
int main(void){

        int a,b,c,d,e,f;
        double x,y;

        while(scanf("%d %d %d %d %d %d",&a,&b,&c,&d,&e,&f) != EOF){

                        x=(c*e-b*f)/(a*e-d*b);
                        y=(a*f-c*d)/(a*e-d*b);

                        if(-0.0005<x && x<0.0005) x=0;
                        if(-0.0005<y && y<0.0005) y=0;

                        printf("%.3f %.3f\n",x,y);


        }
        return 0;
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

#include <stdio.h>

int main( void )
{
    int a,b,c,d,e,f;
    float x,y;
    
    while(scanf("%d %d %d %d %d %d",&a,&b,&c,&d,&e,&f) != -1){    
        y = (float)(( c*d -a*f ) / (b*d-a*e)); 
        x = (float)(( c*e -b*f ) / (a*e-b*d));
        printf( "%.3lf %.3f\n",x,y); 
    ???
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:5: error: expected expression before '?' token
   12 |     ???
      |     ^
main.c:14:1: error: expected declaration or statement at end of input
   14 | }
      | ^
Language: C

#include  <stdio.h>

int main()
{
  int a, b, c, e, f, g;
  float x, y;
  
  
  while(scanf("%d %d %d %d %d %d", &a, &b, &c, &d, &e ,&f) != -1){
    
    x = (float)(e*c - b*f) / (a*e - b*d);
    y = (float)(a*f - c*d) /(a*e - b*d);
    
    if(-0,0005 < x && x <= 0) x = 0;
    
    if(-0,0005 < y && y <= 0) y = 0;
    
    printf("%.3f %.3f\n", x, y);
  }
  
  return 0;
}
  

Compiler output:
main.c: In function 'main':
main.c:9:49: error: 'd' undeclared (first use in this function)
    9 |   while(scanf("%d %d %d %d %d %d", &a, &b, &c, &d, &e ,&f) != -1){
      |                                                 ^
main.c:9:49: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
??
int main() {
????????double a, b, c, d, e, f;
????????double x, y;
??
????????while (scanf("%f", &a) != EOF) {
????????????????scanf("%f %f %f %f %f", &b, &c, &d, &e, &f);
????????????????b *= d / a;
????????????????c *= d / a;
????????????????a = d;
????????????????if ((a > 0 && d > 0) || (a < 0 && d < 0)) {
????????????????????????a *= -1;
????????????????????????b *= -1;
????????????????????????c *= -1;
????????????????}
????????????????e += b;
????????????????f += c;
????????????????y = f / e;
????????????????x = (-1 * b * y + c) / a;
????????????????if (x == -0) x = 0;
????????????????else if (y == -0) y = 0;
??
????????????????printf("%.3lf %.3lf\n", x, y);
????????}
??
????????return 0;
}

Compiler output:
main.c:2:1: error: expected identifier or '(' before '?' token
    2 | ??
      | ^
Language: C

include<stdio.h>
int main(){
double a,b,c,d,e,f,x,y;
while(scanf("%lf %lf %lf %lf %lf %lf",&a,&b,&c,&d,&e,&f)!=EOF){
 y=(c*d-f*a)/(b*d-e*a);
 x=(c-b*y)/a;
 printf("%.3f %.3f\n",x,y);
 }
return 0;}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

#include<stdio.h>
int main()
{
double a,b,c,d,e,f,x,x1,x2,and,then;
while(scanf("%lf %lf %lf %lf %lf %lf",&a,&b,&c,&d,&e,%f)!=EOF)
{
x2=(c*e)-(b*f);
then=(a*e)-(b*d);
and=(a*f)-(d*c);
x=(x2)/(then);
x1=(and)/(then);
if((x2/then)==-0)
{
x=0;
}
printf("%0.3lf %0.3lf\n",x,x1);
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:54: error: expected expression before '%' token
    5 | while(scanf("%lf %lf %lf %lf %lf %lf",&a,&b,&c,&d,&e,%f)!=EOF)
      |                                                      ^
Language: C

#include<stdio.h>
int main(void){
	int a,b,c,d,e,f,i;
	double x,y;
	for(scanf("%d %d %d %d %d %d",&a,&b,&c,&d,&e,&f)!=EOF){
		y=(c*d-a*f)/(b*d-a*e);
		x=(c*e-f*b)/(a*e-b*d);
		printf("%.3f %.3f\n\n",x,y);
	}
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:62: error: expected ';' before ')' token
    5 |         for(scanf("%d %d %d %d %d %d",&a,&b,&c,&d,&e,&f)!=EOF){
      |                                                              ^
main.c:5:62: error: expected expression before ')' token
Language: C

#include <stdio.h>
#include <math.h>
 
using namespace std;
 
 
int main(){
    double a,b,c,d,e,f,x,y;
 
    while(scanf("%lf %lf %lf %lf %lf %lf",&a,&b,&c,&d,&e,&f)!=EOF){
        x=(c*e-b*f)/(a*e-d*b);
        y=(a*f-c*d)/(a*e-b*d);
        if(x == 0)x=0;
        if(y == 0)y=0;
        printf("%.3lf %.3lf\n",x,y);
    }
 
    return 0;
}


Compiler output:
main.c:4:1: error: unknown type name 'using'
    4 | using namespace std;
      | ^~~~~
main.c:4:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    4 | using namespace std;
      |                 ^~~
Language: C

#include<stdio.h>
int main()
{
float a,b,c,d,e,f,s,t;
while(scanf("%f%f%f%f%f%f",&a,&b,&c,&d,&e,&f)!=EOF)
{
t=(c*d-f*a)/(b*d-e*a);
s=(c-b*t)/a;
printf（“%.3f %.3f\n”,s,t);
}
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:9:9: error: stray '\342' in program
    9 | printf<U+FF08><U+201C>%.3f %.3f\n<U+201D>,s,t);
      |               ^~~~~~~~
main.c:9:1: error: 'printf\U0000ff08' undeclared (first use in this function); did you mean 'printf'?
    9 | printf（“%.3f %.3f\n”,s,t);
      | ^~~~~~~~
      | printf
main.c:9:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:19: error: stray '\' in program
    9 | printf（“%.3f %.3f\n”,s,t);
      |                   ^
main.c:9:19: error: expected ';' before 'n'
    9 | printf（“%.3f %.3f\n”,s,t);
      |                   ^~
      |                   ;
main.c:9:21: error: stray '\342' in program
    9 | printf<U+FF08><U+201C>%.3f %.3f\n<U+201D>,s,t);
      |                                  ^~~~~~~~
main.c:9:26: error: expected statement before ')' token
    9 | printf（“%.3f %.3f\n”,s,t);
      |                          ^
Language: C

#include<stdio.h>
int main(void){

	double a, b, c, d, e, f;
	double A,B;
	double x, y;

	while(scanf("%lf %lf %lf %lf %lf %lf", &a, &b, &c, &d, &e, &f) != EOF){
		 
	 
	 if ( (a >= 0 && d < =0)|| (a >= 0 && d >= 0)) {
		A = c*d - f*a;
		B = b*d - e*a;
        y = A / B;
    }
    
    else if ((a < 0 && d > 0) || (a < 0 && d < 0)) {
		A = c*d + f*a;
		B = b*d + e*a;
        y = A / B;
    }


    x = (c - y * b) / a;
	printf("%.3f %.3f\n" ,x , y);
	}
	return 0;

}


Compiler output:
main.c: In function 'main':
main.c:11:30: error: expected expression before '=' token
   11 |          if ( (a >= 0 && d < =0)|| (a >= 0 && d >= 0)) {
      |                              ^
Language: C

#include<stdio.h>
int main(void){
	int a,b,c,d,e,f;
	double x,y;
	while(scanf("%d %d %d %d %d %d",&a,&b,&c,&d,&e,&f)!=EOF){
		y=(a*f-d*c)/(a*e-d*b);
		x=(b*f-e*c)/(b*d-a*e);
		if(y%0.01>0.004){
			y+=0.001;
		}
		if(x%0.01>0.004){
			x+=0.001;
		}
		printf("%.3f %.3f\n",x,y);
	}
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:21: error: invalid operands to binary % (have 'double' and 'double')
    8 |                 if(y%0.01>0.004){
      |                     ^
main.c:11:21: error: invalid operands to binary % (have 'double' and 'double')
   11 |                 if(x%0.01>0.004){
      |                     ^
Language: C

#include <stdio.h>
main(){
 double x=0,y=0,a,b,c,d,e,f;
  while(scanf("%lf%lf%lf%lf%lf%lf",&a,&b,&c,&d,&e,&f) !=EOF){
    if(a!=0||a*e!=0||c/a-(b*f)/(a*e)!=0||1-b*d/(a*e)!=0){
      x=(c/a-(b*f)/(a*e))/(1-b*d/(a*e));
      y=(f-d*x)/e;
    }
    else if(a==0){
      y=c/b;
      x=(f-e*y)/d;
    }
    else if(e==0){
      x=f/d;
      y=(c-a*x)/b;
    }
    else{
      x=(f/d-(e*c)/(b*d))/(1-a*e/(b*d));
      y=(f-d*x)/e;

    printf("%.3f %.3f\n",x,y);
  }
  return 0; 
}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:24:1: error: expected declaration or statement at end of input
   24 | }
      | ^
Language: C

#include <stdio.h>
#include <cstdio>

int main(){
	int a, b, c, d, e, f;
	double x, y;
	while(scanf("%d %d %d %d %d %d\n", &a, &b, &c, &d, &e, &f) != EOF){
		y = (double)(a * f - c * d) / (double)(a * e - b * d);
		x = ((double)c - (double)b * y) / (double)a;
		printf("%.3f %.3f\n", x, y);
	}
	return 0;
}

Compiler output:
main.c:2:10: fatal error: cstdio: No such file or directory
    2 | #include <cstdio>
      |          ^~~~~~~~
compilation terminated.
Language: C

#include "stdafx.h"
#include <stdio.h>
int main()
{
	int a,b,c,d,e,f,i;
	double anx,any;
	while(1)
	{
		if (scanf("%d %d %d %d %d %d",&a,&b,&c,&d,&e,&f)==EOF) break;
		
		anx=(double)(c/b);
		any=(double)((f-e*(int)anx)/d);
		printf("%.3lf %.3lf\n",any,anx);
	}
	return 0;
}

Compiler output:
main.c:1:10: fatal error: stdafx.h: No such file or directory
    1 | #include "stdafx.h"
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>

int main(){
 int a,b,c,d,e,f;
 double x,y;

 while(scanf("%d %d %d %d %d %d",&a,&b,&c,&d,&e,&f)!=EOF){
  x=(1/(a*e-b*d))(e*c-b*f);
  y=(1/(a*e-b*d))(-d*c+a*f);
  printf("%f %f\n",x,y);
 }

Compiler output:
main.c: In function 'main':
main.c:8:7: error: called object is not a function or function pointer
    8 |   x=(1/(a*e-b*d))(e*c-b*f);
      |     ~~^~~~~~~~~~~
main.c:9:7: error: called object is not a function or function pointer
    9 |   y=(1/(a*e-b*d))(-d*c+a*f);
      |     ~~^~~~~~~~~~~
main.c:11:2: error: expected declaration or statement at end of input
   11 |  }
      |  ^
Language: C

#include<stdio.h>

int main(){
 int a,b,c,d,e,f;
 double x,y;

 while(scanf("%d %d %d %d %d %d",&a,&b,&c,&d,&e,&f)!=EOF){
  x=(1/(a*e-b*d))(e*c-b*f);
  y=(1/(a*e-b*d))(-d*c+a*f);
  printf("%f %f\n",x,y);
 }
 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:7: error: called object is not a function or function pointer
    8 |   x=(1/(a*e-b*d))(e*c-b*f);
      |     ~~^~~~~~~~~~~
main.c:9:7: error: called object is not a function or function pointer
    9 |   y=(1/(a*e-b*d))(-d*c+a*f);
      |     ~~^~~~~~~~~~~
Language: C

include <stdio.h>
int main(void)
{
    double a,b,c,d,e,f;
    double x,y;
    while(scanf("%lf %lf %lf %lf %lf %lf",&a,&b,&c,&d,&e,&f)==6){
        if(c>f)x=(c*e-f*b)/(e*a-b*d);
        else x=(f*b-c*e)/(b*d-e*a);
        y=(c-a*x)/b;
        if((int)(x*10000)%10>=5)x=x+0.001;
        if((int)(y*10000)%10>=5)y=y+0.001;
        printf("%.3f %.3f\n",x,y);
    }
    return 0;
}

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

include <stdio.h>
int main(void)
{
    double a,b,c,d,e,f;
    double x,y;
    while(scanf("%lf %lf %lf %lf %lf %lf",&a,&b,&c,&d,&e,&f)==6){
        x=(f*b-c*e)/(b*d-e*a);
        y=(c-a*x)/b;
        if((int)(x*10000)%10>=5)x=x+0.001;
        if((int)(y*10000)%10>=5)y=y+0.001;
        printf("%.3f %.3f\n",x,y);
    }
    return 0;
}

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

#include<iostream>
#include<iomanip>
using namespace std;

int main()
{
	double a,b,c,d,e,f;
	double x,y;
	
	while (1) {
		cin>>a>>b>>c>>d>>e>>f;
		if (cin.eof())break;
		y = (c * d - a * f) / (b * d - e * a);
		x = (c - (b * y)) / a;
		cout<<setprecision(3)<<setiosflags(ios::fixed)<<x<<" "<<y<<endl;
	}	
	return 0;
}

Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

int main(void){
  double a,b,c,d,e,f;
  double x,y;

  while(scanf("%lf%lf%lf%lf%lf%lf",&a,&b,&c,&d,&e,&f)!=EOF){
    y=(c*d-a*f)/(b*d-e*a);
    x=(c-(b*y))/a;
    printf("%.3f %.3f\n",x,y);
  }
  return(0);
}

Compiler output:
main.c: In function 'main':
main.c:5:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |   while(scanf("%lf%lf%lf%lf%lf%lf",&a,&b,&c,&d,&e,&f)!=EOF){
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(void){
main.c:5:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |   while(scanf("%lf%lf%lf%lf%lf%lf",&a,&b,&c,&d,&e,&f)!=EOF){
      |         ^~~~~
main.c:5:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:56: error: 'EOF' undeclared (first use in this function)
    5 |   while(scanf("%lf%lf%lf%lf%lf%lf",&a,&b,&c,&d,&e,&f)!=EOF){
      |                                                        ^~~
main.c:5:56: note: 'EOF' is defined in header '<stdio.h>'; this is probably fixable by adding '#include <stdio.h>'
main.c:5:56: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |     printf("%.3f %.3f\n",x,y);
      |     ^~~~~~
main.c:8:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:8:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<stdio.h>
int main(void)
{
double x=0 , y=0 ;
int a , b , c , d , e , f , p=0 , r=0 , s=0 ;

while(scanf("%d %d %d %d %d %d",&a ,&b ,&c ,&d ,&e ,&f) != EOF)
{
p=a*e-b*d ;
q=c*e-b*f ;
x=(double)q/p ;

r=b*d-a*e ;
s=c*d-a*f ;
y=(double)s/r ;

if(x==-0) x=0 ;
if(y==-0) y=0 ;

printf("% .3f % .3f\n",x ,y) ;
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:1: error: 'q' undeclared (first use in this function)
   10 | q=c*e-b*f ;
      | ^
main.c:10:1: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<iostream>
#include<stdio.h>
using namespace std;
int main(){
	double a,b,c,d,e,f,x,y;
	while(cin>>a>>b>>c>>d>>e>>f){
		y=(d*c-f*a)/(b*d-e*a);
		x=(c-b*y)/a;
		//cout<<x<<" "<<y<<endl;
		printf("%.3f %.2f%d",x,y);
	}
}

Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

//#include<iostream>
#include<stdio.h>
using namespace std;
int main(){
	double a,b,c,d,e,f,x,y;
	while(cin>>a>>b>>c>>d>>e>>f){
		y=(d*c-f*a)/(b*d-e*a);
		x=(c-b*y)/a;
		//cout<<x<<" "<<y<<endl;
		printf("%.3f %.2f%d",x,y);
	}
}

Compiler output:
main.c:3:1: error: unknown type name 'using'
    3 | using namespace std;
      | ^~~~~
main.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    3 | using namespace std;
      |                 ^~~
main.c: In function 'main':
main.c:6:15: error: 'cin' undeclared (first use in this function)
    6 |         while(cin>>a>>b>>c>>d>>e>>f){
      |               ^~~
main.c:6:15: note: each undeclared identifier is reported only once for each function it appears in
Language: C

//#include<iostream>
#include<stdio.h>
using namespace std;
int main(){
	double a,b,c,d,e,f,x,y;
	//while(cin>>a>>b>>c>>d>>e>>f){
	while(scanf("%d,%d,%d,%d,%d,%d",&a,&b,&c,&d,&e,&f)!=EOF)
		y=(d*c-f*a)/(b*d-e*a);
		x=(c-b*y)/a;
		//cout<<x<<" "<<y<<endl;
		printf("%.3f %.2f%d",x,y);
	}
}

Compiler output:
main.c:3:1: error: unknown type name 'using'
    3 | using namespace std;
      | ^~~~~
main.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    3 | using namespace std;
      |                 ^~~
main.c:13:1: error: expected identifier or '(' before '}' token
   13 | }
      | ^
Language: C

#include<iostream>
#include<stdio.h>
using namespace std;
int main(){
	double a,b,c,d,e,f,x,y;
	//while(cin>>a>>b>>c>>d>>e>>f){
	while(scanf("%d,%d,%d,%d,%d,%d",&a,&b,&c,&d,&e,&f)!=EOF){
		y=(d*c-f*a)/(b*d-e*a);
		x=(c-b*y)/a;
		//cout<<x<<" "<<y<<endl;
		printf("%.3f %.2f%d",x,y);
	}
}

Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C


#include<stdio.h>
using namespace std;
int main(){
	double a,b,c,d,e,f,x,y;
	while(scanf("%d,%d,%d,%d,%d,%d",&a,&b,&c,&d,&e,&f)!=EOF){
		y=(d*c-f*a)/(b*d-e*a);
		x=(c-b*y)/a;

		printf("%.3f %.2f%d",x,y);
	}
}

Compiler output:
main.c:3:1: error: unknown type name 'using'
    3 | using namespace std;
      | ^~~~~
main.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    3 | using namespace std;
      |                 ^~~
Language: C

main(float a,b,c,d,e,f){for(;~scanf("%f%f%f%f%f%f",&a,&b,&c,&d,&e,&f);printf("%.3f %.3f\n",(c-b*d)/a,d=(a*f-c*d)/(a*e-b*d)));}

Compiler output:
main.c:1:14: error: unknown type name 'b'
    1 | main(float a,b,c,d,e,f){for(;~scanf("%f%f%f%f%f%f",&a,&b,&c,&d,&e,&f);printf("%.3f %.3f\n",(c-b*d)/a,d=(a*f-c*d)/(a*e-b*d)));}
      |              ^
main.c:1:16: error: unknown type name 'c'
    1 | main(float a,b,c,d,e,f){for(;~scanf("%f%f%f%f%f%f",&a,&b,&c,&d,&e,&f);printf("%.3f %.3f\n",(c-b*d)/a,d=(a*f-c*d)/(a*e-b*d)));}
      |                ^
main.c:1:18: error: unknown type name 'd'
    1 | main(float a,b,c,d,e,f){for(;~scanf("%f%f%f%f%f%f",&a,&b,&c,&d,&e,&f);printf("%.3f %.3f\n",(c-b*d)/a,d=(a*f-c*d)/(a*e-b*d)));}
      |                  ^
main.c:1:20: error: unknown type name 'e'
    1 | main(float a,b,c,d,e,f){for(;~scanf("%f%f%f%f%f%f",&a,&b,&c,&d,&e,&f);printf("%.3f %.3f\n",(c-b*d)/a,d=(a*f-c*d)/(a*e-b*d)));}
      |                    ^
main.c:1:22: error: unknown type name 'f'
    1 | main(float a,b,c,d,e,f){for(;~scanf("%f%f%f%f%f%f",&a,&b,&c,&d,&e,&f);printf("%.3f %.3f\n",(c-b*d)/a,d=(a*f-c*d)/(a*e-b*d)));}
      |                      ^
Language: C

/*
	AIZU ONLINE A0004
        Simultaneous Equation
*/
#include <stdio.h>
#include <float.h>


main()
{	float a,b,c,d,e,f,x,y;
	float det;
	
	while(EOF != scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f))
	{	det = a*e - b*d;
		x   = (e*c - b*f)/det;
		y   = (-d*c+ a*f)/det;
		printf("%.3f %.3f\n",x,y);
	}
	print(0);
}

Compiler output:
main.c:9:1: error: return type defaults to 'int' [-Wimplicit-int]
    9 | main()
      | ^~~~
main.c: In function 'main':
main.c:19:9: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   19 |         print(0);
      |         ^~~~~
      |         printf
Language: C

#include <stdio.h>

int main(){
	double a,b,c,d,e,f;
	while(scanf("%lf %lf %lf %lf %lf %lf",&a,&b,&c,&d,&e,&f)>0){
		f = ((a*f)-(c*d))/(a*e)
		c = ((c*e)-(a*b*f)+(b*c*d))/(a*e)
			printf("%.3f %.3f\n",c,f);
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:40: error: expected ';' before 'c'
    6 |                 f = ((a*f)-(c*d))/(a*e)
      |                                        ^
      |                                        ;
    7 |                 c = ((c*e)-(a*b*f)+(b*c*d))/(a*e)
      |                 ~
Language: C


#include <stdio.h>
using namespace std;
int main ()
{
    double a,b,c,d,e,f,x,y;
    while(scanf("%lf %lf %lf %lf %lf %lf",&a,&b,&c,&d,&e,&f)){
        y=(c*d-f*a)/(b*d-a*e);
        x=(c-b*y)/a;
        printf("%.3f %.3f",x,y);
    }
    return 0;
}

Compiler output:
main.c:3:1: error: unknown type name 'using'
    3 | using namespace std;
      | ^~~~~
main.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    3 | using namespace std;
      |                 ^~~
Language: C

#include<iostream>
#include<iomanip>

using namespace std;

int main(){
	cout << setprecision(3) << setiosflags(ios::fixed);
	double a, b, c, d, e, f;

	while(cin >> a >> b >> c >> d >> e >> f){
		cout << (c*e-f*b)/(a*e-d*b) + 0.000001<< " " << (c*d-f*a)/(b*d-a*e) + 0.000001 << '\n';
		}
	return 0;
}

Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

#include <stdio.h>
int main(void){
double a,b,c,d,e,f,x,y;
while(0){
scanf("%lf%lf%lf%lf%lf%lf",&a,&b,&c,&d,&e,&f);
x=(e*c-b*f)/(a*e-d*b);
y=(c-a*x)/b;
if(x*10000%10>4)x=x+0.001;
if(y*10000%10>4)y=y+0.001;
printf("%.3f %.3f\n",x,y);
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:11: error: invalid operands to binary % (have 'double' and 'int')
    8 | if(x*10000%10>4)x=x+0.001;
      |    ~~~~~~~^
      |     |
      |     double
main.c:9:11: error: invalid operands to binary % (have 'double' and 'int')
    9 | if(y*10000%10>4)y=y+0.001;
      |    ~~~~~~~^
      |     |
      |     double
Language: C

#include<stdio.h>
int main(void){
double a,b,c,d,e,f,x,y;
while(0){
scanf("%lf%lf%lf%lf%lf%lf",&a,&b,&c,&d,&e,&f);
x=(e*c-b*f)/(e*a-b*d);
y=(c-a*x)/b;
if(x*10000.0%10.0>4.0)x=x+0.001;
if(y*10000.0%10.0>4.0)y=y+0.001;
printf("%f %f",x,y);
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:13: error: invalid operands to binary % (have 'double' and 'double')
    8 | if(x*10000.0%10.0>4.0)x=x+0.001;
      |    ~~~~~~~~~^
      |     |
      |     double
main.c:9:13: error: invalid operands to binary % (have 'double' and 'double')
    9 | if(y*10000.0%10.0>4.0)y=y+0.001;
      |    ~~~~~~~~~^
      |     |
      |     double
Language: C

#include<stdi.h>
int main ()
	double a,b,c,d,e,f;{
	for(;scanf("%f %f %f %f %f %F",&a,&b,&c,&d,&e,&f)!=EOF;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d))));
	

}

Compiler output:
main.c:1:9: fatal error: stdi.h: No such file or directory
    1 | #include<stdi.h>
      |         ^~~~~~~~
compilation terminated.
Language: C

main (){double a,b,c,d,e,f;{for(;scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=-1;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d))));return 0;}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main (){double a,b,c,d,e,f;{for(;scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=-1;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d))));return 0;}
      | ^~~~
main.c: In function 'main':
main.c:1:34: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | main (){double a,b,c,d,e,f;{for(;scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=-1;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d))));return 0;}
      |                                  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | main (){double a,b,c,d,e,f;{for(;scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=-1;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d))));return 0;}
main.c:1:34: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | main (){double a,b,c,d,e,f;{for(;scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=-1;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d))));return 0;}
      |                                  ^~~~~
main.c:1:34: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:83: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | main (){double a,b,c,d,e,f;{for(;scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=-1;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d))));return 0;}
      |                                                                                   ^~~~~~
main.c:1:83: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:83: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:83: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:141: error: expected statement before ')' token
    1 | main (){double a,b,c,d,e,f;{for(;scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=-1;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d))));return 0;}
      |                                                                                                                                             ^
main.c:1:141: error: expected declaration or statement at end of input
Language: C

main(){double a,b,c,d,e,f;{for(;scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=-1;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d)));return 0;}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(){double a,b,c,d,e,f;{for(;scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=-1;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d)));return 0;}
      | ^~~~
main.c: In function 'main':
main.c:1:33: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | main(){double a,b,c,d,e,f;{for(;scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=-1;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d)));return 0;}
      |                                 ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | main(){double a,b,c,d,e,f;{for(;scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=-1;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d)));return 0;}
main.c:1:33: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | main(){double a,b,c,d,e,f;{for(;scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=-1;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d)));return 0;}
      |                                 ^~~~~
main.c:1:33: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:82: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | main(){double a,b,c,d,e,f;{for(;scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=-1;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d)));return 0;}
      |                                                                                  ^~~~~~
main.c:1:82: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:82: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:82: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:1: error: expected declaration or statement at end of input
    1 | main(){double a,b,c,d,e,f;{for(;scanf("%f %f %f %f %f %f",&a,&b,&c,&d,&e,&f)!=-1;printf("%f %f\n",(e*c-f*b)/(e*a-b*d),(a*f-c*d)/(a*e-b*d)));return 0;}
      | ^~~~
Language: C

#include<stdio.h>

int gcd(int m, int n){
  if( (m == 0) || (n == 0) ){
      return 0;
  }
  while( m != n ){
    if(m>n){ m = m - n; }
    else { n = n - m; }
  }

  return m;

}

int lcm(int m, int n){
  if( (m==0) || (n==0) ){
    return 0;
  }
  return ( (m / gcd(m , n)) * n);
}

int main(){
  int a,b,c.,d,e,f;
  int multi_a, multi_b;
  int x,y;

  while(scanf("%d%d%d%d%d%d",&a,&b,&c,&d,&e,&f)!=EOF){
    multi_a = lcm(a,d)/a;
    multi_b = lcm(a,d)/d;

    a = a * multi_a;
    b = b * multi_a;
    c = c * multi_a;
    d = d * multi_b;
    e = e * multi_b;
    f = f * multi_b;

    y = (c - f) / (b - e);
    x = (c - (y * b)) / a;

    printf("%d %d\n",x,y);
    
  }

  return 0;

}

Compiler output:
main.c: In function 'main':
main.c:24:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
   24 |   int a,b,c.,d,e,f;
      |            ^
main.c:28:37: error: 'c' undeclared (first use in this function)
   28 |   while(scanf("%d%d%d%d%d%d",&a,&b,&c,&d,&e,&f)!=EOF){
      |                                     ^
main.c:28:37: note: each undeclared identifier is reported only once for each function it appears in
main.c:28:40: error: 'd' undeclared (first use in this function)
   28 |   while(scanf("%d%d%d%d%d%d",&a,&b,&c,&d,&e,&f)!=EOF){
      |                                        ^
main.c:28:43: error: 'e' undeclared (first use in this function)
   28 |   while(scanf("%d%d%d%d%d%d",&a,&b,&c,&d,&e,&f)!=EOF){
      |                                           ^
main.c:28:46: error: 'f' undeclared (first use in this function)
   28 |   while(scanf("%d%d%d%d%d%d",&a,&b,&c,&d,&e,&f)!=EOF){
      |                                              ^
Language: C

#include <stdio.h>
int main(){
	double a,b,c,d,e,f;
	double x,y;
	while(scanf("%if %if %if %if %if %if",&a,&b,&c,&d,&e,&f)!=EOF){
		y = (c * d - a * f) / (b * d - e * a);
		x = (c - (b * y)) / a;
	printf("%.3if %.3if\n",x,y)
	}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:36: error: expected ';' before '}' token
    8 |         printf("%.3if %.3if\n",x,y)
      |                                    ^
      |                                    ;
    9 |         }
      |         ~
Language: C

#include<stdio.h>

int main(void)
{
	int a,b,c,d,e,f,A;
	while(scanf("%d %d %d %d %d %d",&a,&b,&c,&d,&e,&f)!=EOF)
	{
		A = (a*e-b*d);
		printf("%.3f %.3f\n",(float)(c*e-b*f)/A+0,(float)(a*f-c*d)/A+0));
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:80: error: expected ';' before ')' token
    9 |                 printf("%.3f %.3f\n",(float)(c*e-b*f)/A+0,(float)(a*f-c*d)/A+0));
      |                                                                                ^
      |                                                                                ;
main.c:9:80: error: expected statement before ')' token
Language: C

#include <stdio.h>
  int main(){
   double a,b,c,d,e,f,i,x,y;
    scanf("%f%f%f%f%f%f%f",&a,&b,&c,&d,&e,&f) 
     x = (c*e-b*f)/(a*e-b*d);
      y = (c*d-a*f)/(b*d-a*e);
       printf("%f %f\n",x,y);
return 0;
} 

Compiler output:
main.c: In function 'main':
main.c:4:46: error: expected ';' before 'x'
    4 |     scanf("%f%f%f%f%f%f%f",&a,&b,&c,&d,&e,&f)
      |                                              ^
      |                                              ;
    5 |      x = (c*e-b*f)/(a*e-b*d);
      |      ~
Language: C

#include<stdio.h>
#include<math.h>

int main(){
	double A[2][3],x,y;

	printf("6つの実数を入力してください 例:6 3 4 8 9 1\n");
	scanf("%lf%lf%lf%lf%lf%lf",&A[0][0],&A[0][1],&A[0][2],&A[1][0],&A[1][1],&A[1][2]);

	printf("連立方程式%lfx+%lfy=%lf,%lfx+%lfy=%lfを解きます\n",A[0][0],A[0][1],A[0][2],A[1][0],A[1][1],A[1][2]);
	


	//掃き出し法で
	for(int i=2;i>=0;i--){
		A[0][i] /= A[0][0];
	}
	
	for(int i=2;i>=0;i--){
		A[1][i] -= A[0][i] * A[1][0];
	}

	if(A[1][1] == 0){
		if(A[1][2] == 0){
			printf("解はすべての実数\n");
		}else{
			printf("解無し\n");
		}
		return 0;
	}

	y = A[1][2] / A[1][1];
	x = A[0][2] - A[0][1]*y;

	printf("x = %lf ,y = %lf\n",x,y);

	x *= 1e+3;
	y *= 1e+3;

	//切上げ処理
	x = floor(x+0.5)*(1e-3);
	y = floor(y+0.5)*(1e-3);

	printf("x = %.3lf ,y = %.3lf\n",x,y);

	return 0;
}

Compiler output:
/usr/bin/ld: /tmp/ccOqpFuc.o: in function `main':
main.c:(.text+0x223): undefined reference to `floor'
/usr/bin/ld: main.c:(.text+0x254): undefined reference to `floor'
collect2: error: ld returned 1 exit status
Language: C

#include<stdio.h>
#include<math.h>

int main(){
	double A[2][3],x,y;

	/*
	printf("6つの実数を入力してください 例:6 3 4 8 9 1\n");
	scanf("%lf%lf%lf%lf%lf%lf",&A[0][0],&A[0][1],&A[0][2],&A[1][0],&A[1][1],&A[1][2]);

	printf("連立方程式%lfx+%lfy=%lf,%lfx+%lfy=%lfを解きます\n",A[0][0],A[0][1],A[0][2],A[1][0],A[1][1],A[1][2]);
	*/

	while(scanf("%lf%lf%lf%lf%lf%lf",&A[0][0],&A[0][1],&A[0][2],&A[1][0],&A[1][1],&A[1][2]) != EOF){
	
		//掃き出し法で
		for(int i=2;i>=0;i--){
			A[0][i] /= A[0][0];
		}
	
		for(int i=2;i>=0;i--){
			A[1][i] -= A[0][i] * A[1][0];
		}

		if(A[1][1] == 0){
			if(A[1][2] == 0){
				printf("解はすべての実数\n");
			}else{
				printf("解無し\n");
			}
			return 0;
		}

		y = A[1][2] / A[1][1];
		x = A[0][2] - A[0][1]*y;

		printf("x = %lf ,y = %lf\n",x,y);

		x *= 1e+3;
		y *= 1e+3;

		//切上げ処理
		x = floor(x+0.5)*(1e-3);
		y = floor(y+0.5)*(1e-3);

		printf("x = %.3lf ,y = %.3lf\n",x,y);
	}

	return 0;
}

Compiler output:
/usr/bin/ld: /tmp/ccPz6oqT.o: in function `main':
main.c:(.text+0x17d): undefined reference to `floor'
/usr/bin/ld: main.c:(.text+0x1ae): undefined reference to `floor'
collect2: error: ld returned 1 exit status
Language: C

#include<stdio.h>
#include<math.h>

int main(){
	double A[2][3],x,y,i;

	/*
	printf("6つの実数を入力してください 例:6 3 4 8 9 1\n");
	scanf("%lf%lf%lf%lf%lf%lf",&A[0][0],&A[0][1],&A[0][2],&A[1][0],&A[1][1],&A[1][2]);

	printf("連立方程式%lfx+%lfy=%lf,%lfx+%lfy=%lfを解きます\n",A[0][0],A[0][1],A[0][2],A[1][0],A[1][1],A[1][2]);
	*/

	while(scanf("%lf%lf%lf%lf%lf%lf",&A[0][0],&A[0][1],&A[0][2],&A[1][0],&A[1][1],&A[1][2]) != EOF){
	
		//掃き出し法で
		for(i=2;i>=0;i--){
			A[0][i] /= A[0][0];
		}
	
		for(int i=2;i>=0;i--){
			A[1][i] -= A[0][i] * A[1][0];
		}

		if(A[1][1] == 0){
			if(A[1][2] == 0){
				printf("解はすべての実数\n");
			}else{
				printf("解無し\n");
			}
			return 0;
		}

		y = A[1][2] / A[1][1];
		x = A[0][2] - A[0][1]*y;

		printf("x = %lf ,y = %lf\n",x,y);

		x *= 1e+3;
		y *= 1e+3;

		//切上げ処理
		x = floor(x+0.5)*(1e-3);
		y = floor(y+0.5)*(1e-3);

		printf("x = %.3lf ,y = %.3lf\n",x,y);
	}

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:18:29: error: array subscript is not an integer
   18 |                         A[0][i] /= A[0][0];
      |                             ^