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

#include <stdio.h>
#include <math.h>
#define PI 3.1415926
int main(void){
   int a, b, c;
   double S, L, h;
   scanf("%d %d %d", &a, &b, &c);
   S = 0.5*a*b*sin(c*PI/180);
   L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
   h = (2*S)/a;
   printf("%lf\n", S);
   printf("%lf\n", L);
   printf("%lf\n", h);
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%lf\n", S);
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%lf\n", S);
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%lf\n", L);
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%lf\n", L);
      |          ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%lf\n", h);
      | ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%lf\n", h);
      |          ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      |          ^~~~~~~~
Language: C

#include <stdio.h>
#include <math.h>
#define PI 3.14159265359
int main(void){
   int a, b, c;
   double S, L, h;
   scanf("%d %d %d", &a, &b, &c);
   S = 0.5*a*b*sin(c*PI/180);
   L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
   h = (2*S)/a;
   printf("%lf\n", S);
   printf("%lf\n", L);
   printf("%lf\n", h);
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%lf\n", S);
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%lf\n", S);
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%lf\n", L);
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%lf\n", L);
      |          ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%lf\n", h);
      | ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%lf\n", h);
      |          ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      |          ^~~~~~~~
Language: C

#include <stdio.h>
#include <math.h>
#define PI 3.141592653
int main(void){
   int a, b, c;
   double S, L, h;
   scanf("%d %d %d", &a, &b, &c);
   S = 0.5*a*b*sin(c*PI/180);
   L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
   h = (2*S)/a;
   printf("%lf\n", S);
   printf("%lf\n", L);
   printf("%lf\n", h);
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%lf\n", S);
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%lf\n", S);
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%lf\n", L);
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%lf\n", L);
      |          ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%lf\n", h);
      | ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%lf\n", h);
      |          ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      |          ^~~~~~~~
Language: C

#include <stdio.h>
#include <math.h>
#define PI 3.141592653
int main(void){
   int a, b, c;
   double S, L, h;
   scanf("%d %d %d", &a, &b, &c);
   S = 0.5*a*b*sin(c*PI/180);
   L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
   h = (2*S)/a;
   printf("%f\n", S);
   printf("%f\n", L);
   printf("%f\n", h);
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f\n", S);
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f\n", S);
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%f\n", L);
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%f\n", L);
      |          ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%f\n", h);
      | ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%f\n", h);
      |          ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      |          ^~~~~~~~
Language: C

#include <stdio.h>
#include <math.h>
#define PI 3.141592653
int main(void){
   int a, b, c;
   double S, L, h;
   scanf("%d %d %d", &a, &b, &c);
   S = 0.5*a*b*sin(c*PI/180);
   L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
   h = (2*S)/a;
   printf("%f", S);
   printf("%f", L);
   printf("%f\n", h);
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f", S);
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f", S);
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%f", L);
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%f", L);
      |          ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%f\n", h);
      | ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%f\n", h);
      |          ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      |          ^~~~~~~~
Language: C

#include <stdio.h>
#include <math.h>
#define PI 3.141592653
int main(void){
   int a, b, c;
   double S, L, h;
   scanf("%d %d %d", &a, &b, &c);
   S = 0.5*a*b*sin(c*PI/180);
   L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
   h = (2*S)/a;
   printf("%f %f %f\n",S,L,h);
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f %f %f\n",S,L,h);
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f %f %f\n",S,L,h);
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>return 0;
      |          ^~~~~~~~
Language: C

#include <stdio.h>
#include <math.h>
#define PI 3.141592653
int main(void){
   int a, b, c;
   double S, L, h;
   scanf("%d %d %d", &a, &b, &c);
   S = 0.5*a*b*sin(c*PI/180);
   L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
   h = (2*S)/a;
   printf("%f,%f,%f\n",S,L,h);
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f,%f,%f\n",S,L,h);
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f,%f,%f\n",S,L,h);
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>return 0;
      |          ^~~~~~~~
Language: C

#include <stdio.h>
#include <math.h>
#define PI 3.141593
int main(void){
   int a, b, c;
   double S, L, h;
   scanf("%d %d %d", &a, &b, &c);
   S = 0.5*a*b*sin(c*PI/180);
   L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
   h = (2*S)/a;
   printf("%f,%f,%f\n",S,L,h);
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f,%f,%f\n",S,L,h);
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f,%f,%f\n",S,L,h);
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>return 0;
      |          ^~~~~~~~
Language: C

#include <stdio.h>
#include <math.h>
#define PI 3.1415927
int main(void){
   int a, b, c;
   double S, L, h;
   scanf("%d %d %d", &a, &b, &c);
   S = 0.5*a*b*sin(c*PI/180);
   L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
   h = (2*S)/a;
   printf("%lf\n", S);
   printf("%lf\n", L);
   printf("%lf\n", h);
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%lf\n", S);
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%lf\n", S);
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%lf\n", L);
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%lf\n", L);
      |          ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%lf\n", h);
      | ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%lf\n", h);
      |          ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      |          ^~~~~~~~
Language: C

#include <stdio.h>
#include <math.h>
#define PI 3.1415927
int main(void){
   int a, b, c;
   double S, L, h;
   scanf("%d %d %d", &a, &b, &c);
   S = 0.5*a*b*sin(c*PI/180);
   L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
   h = (2*S)/a;
   printf("%f\n", S);
   printf("%f\n", L);
   printf("%f\n", h);
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f\n", S);
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f\n", S);
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%f\n", L);
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%f\n", L);
      |          ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%f\n", h);
      | ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%f\n", h);
      |          ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      |          ^~~~~~~~
Language: C

#include <stdio.h>
#include <math.h>
#define PI 3.14159265
int main(void){
   int a, b, c;
   double S, L, h;
   scanf("%d %d %d", &a, &b, &c);
   S = 0.5*a*b*sin(c*PI/180);
   L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
   h = (2*S)/a;
   printf("%f\n", S);
   printf("%f\n", L);
   printf("%f\n", h);
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f\n", S);
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f\n", S);
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%f\n", L);
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%f\n", L);
      |          ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%f\n", h);
      | ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%f\n", h);
      |          ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      |          ^~~~~~~~
Language: C

#include <stdio.h>
#include <math.h>
#define PI 3.14159265359
int main(void){
   int a, b, c;
   double S, L, h;
   scanf("%d %d %d", &a, &b, &c);
   S = 0.5*a*b*sin(c*PI/180);
   L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
   h = (2*S)/a;
   printf("%f\n", S);
   printf("%f\n", L);
   printf("%f\n", h);
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f\n", S);
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f\n", S);
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%f\n", L);
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%f\n", L);
      |          ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%f\n", h);
      | ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%f\n", h);
      |          ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      |          ^~~~~~~~
Language: C

#include <stdio.h>
#include <math.h>
#define PI 3.14159265359
int main(void){
   int a, b, c;
   double S, L, h;
   scanf("%d %d %d", &a, &b, &c);
   S = 0.5*a*b*sin(c*PI/180);
   L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
   h = (2*S)/a;
   printf("%f\n", S);
   printf("%f\n", L);
   printf("%f\n", h);
   return 0;
}



Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f\n", S);
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f\n", S);
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%f\n", L);
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%f\n", L);
      |          ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%f\n", h);
      | ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%f\n", h);
      |          ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      | ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0;
      |          ^~~~~~~~
Language: C

#include <stdio.h>
#include <math.h>
#define PI 3.14159265359
int main(void){
   int a, b, c;
   double S, L, h;
   scanf("%d %d %d", &a, &b, &c);
   S = 0.5*a*b*sin(c*PI/180);
   L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
   h = (2*S)/a;
   printf("%f\n", S);
   printf("%f\n", L);
   printf("%f\n", h);
   return 0
}



Compiler output:
main.c: In function 'main':
main.c:5:1: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      | ^~~~~~~~
main.c:5:3: error: stray '\302' in program
    5 | <U+00A0> <U+00A0>int a, b, c;
      |          ^~~~~~~~
main.c:6:1: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      | ^~~~~~~~
main.c:6:3: error: stray '\302' in program
    6 | <U+00A0> <U+00A0>double S, L, h;
      |          ^~~~~~~~
main.c:7:1: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      | ^~~~~~~~
main.c:7:3: error: stray '\302' in program
    7 | <U+00A0> <U+00A0>scanf("%d %d %d", &a, &b, &c);
      |          ^~~~~~~~
main.c:8:1: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      | ^~~~~~~~
main.c:8:3: error: stray '\302' in program
    8 | <U+00A0> <U+00A0>S = 0.5*a*b*sin(c*PI/180);
      |          ^~~~~~~~
main.c:9:1: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      | ^~~~~~~~
main.c:9:3: error: stray '\302' in program
    9 | <U+00A0> <U+00A0>L = a + b + sqrt(a*a + b*b - 2*a*b*cos(c*PI/180));
      |          ^~~~~~~~
main.c:10:1: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      | ^~~~~~~~
main.c:10:3: error: stray '\302' in program
   10 | <U+00A0> <U+00A0>h = (2*S)/a;
      |          ^~~~~~~~
main.c:11:1: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f\n", S);
      | ^~~~~~~~
main.c:11:3: error: stray '\302' in program
   11 | <U+00A0> <U+00A0>printf("%f\n", S);
      |          ^~~~~~~~
main.c:12:1: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%f\n", L);
      | ^~~~~~~~
main.c:12:3: error: stray '\302' in program
   12 | <U+00A0> <U+00A0>printf("%f\n", L);
      |          ^~~~~~~~
main.c:13:1: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%f\n", h);
      | ^~~~~~~~
main.c:13:3: error: stray '\302' in program
   13 | <U+00A0> <U+00A0>printf("%f\n", h);
      |          ^~~~~~~~
main.c:14:1: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0
      | ^~~~~~~~
main.c:14:3: error: stray '\302' in program
   14 | <U+00A0> <U+00A0>return 0
      |          ^~~~~~~~
main.c:14:12: error: expected ';' before '}' token
   14 |    return 0
      |            ^
      |            ;
   15 | }
      | ~
Language: C

#include <stdio.h> #include <math.h> #define PI 3.141592653589793 int main() { double a, b, c, s, C; double S, L, h; scanf("%lf%lf%lf", &a, &b, &C); c = sqrt(a*a + b*b - 2*a*b*cos(C*PI/180)); L = a+b+c; s = L/2; S = sqrt(s*(s-a)*(s-b)*(s-c)); h = 2*S/a; printf("%.8lf\n%.8lf\n%.8lf\n", S, L, h); return 0; } 


Compiler output:
main.c:1:20: warning: extra tokens at end of #include directive
    1 | #include <stdio.h> #include <math.h> #define PI 3.141592653589793 int main() { double a, b, c, s, C; double S, L, h; scanf("%lf%lf%lf", &a, &b, &C); c = sqrt(a*a + b*b - 2*a*b*cos(C*PI/180)); L = a+b+c; s = L/2; S = sqrt(s*(s-a)*(s-b)*(s-c)); h = 2*S/a; printf("%.8lf\n%.8lf\n%.8lf\n", S, L, h); return 0; }
      |                    ^
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

#include<stdio.h>
#include<math.h>
int main(){
int a, b, C;
double rad, r,S,L,h;
double PI = acos(-1);

scanf("%d %d", &a, &b);
scanf("%d", &C);
rad = C * PI / 180;
r = ((a^2)+(b^2)-(2*a*b*cos(rad)))^0.5;
S = 0.5*a*b*sin(rad);
L = a+b+r;
h = S/a*2;

printf("%f\n", S);
printf("%f\n", L);
printf("%f\n", h);

   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:35: error: invalid operands to binary ^ (have 'double' and 'double')
   11 | r = ((a^2)+(b^2)-(2*a*b*cos(rad)))^0.5;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
      |                 |
      |                 double
Language: C

#include<stdio.h>
#include<math.h>
int main(void)
{
	int a,b,c,S,L,h;
	scanf(%d %d %d,&a,&b,&c);
	S=a*b*sin(c);
	L=a+b+sqrt((a*a)+(b*b)-(2*a*b*cos(c)));
	h=b*sin(c);
	printf("%d %d %d",S,L,h);
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:15: error: expected expression before '%' token
    6 |         scanf(%d %d %d,&a,&b,&c);
      |               ^
Language: C

import java.util.Scanner;

/**
 *
 * @author Usuario
 */
public class Main{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Scanner in= new Scanner(System.in);
        int N = in.nextInt();
        int T = in.nextInt();
        int res[] = new int[T+1];
        int ini,fin;
        for (int i = 0; i < N; i++) {
            ini=in.nextInt();
            fin=in.nextInt();
            for (int j = ini; j < fin; j++) {
                res[j]++;    
            }
        }
        int max=0;
        for (int i = 0; i < T; i++) {
            if(res[i]>max){
                max=res[i];
            }
        }
        System.out.println(max);
    }
    
}



Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.Scanner;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.Scanner;
      |            ^
main.c:7:1: error: unknown type name 'public'
    7 | public class Main{
      | ^~~~~~
main.c:7:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    7 | public class Main{
      |              ^~~~
Language: C

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

int main(int argc, char* argv[])
{
  double a, b, C, h;

  scanf("%lf %lf %lf", &a, &b, &C);
  h = sin(C*M_PT/180);
  printf("%.5lf\n", a*h*(1/2));
  printf("%.5lf\n", sprt((a*a+b*b)+(-2*a*b*(cos(C*M_PT/180))));
  printf("%.5lf\n", h);  
  return(0);
}

Compiler output:
main.c: In function 'main':
main.c:9:13: error: 'M_PT' undeclared (first use in this function); did you mean 'M_PI'?
    9 |   h = sin(C*M_PT/180);
      |             ^~~~
      |             M_PI
main.c:9:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:21: error: implicit declaration of function 'sprt'; did you mean 'sqrt'? [-Wimplicit-function-declaration]
   11 |   printf("%.5lf\n", sprt((a*a+b*b)+(-2*a*b*(cos(C*M_PT/180))));
      |                     ^~~~
      |                     sqrt
main.c:11:63: error: expected ')' before ';' token
   11 |   printf("%.5lf\n", sprt((a*a+b*b)+(-2*a*b*(cos(C*M_PT/180))));
      |         ~                                                     ^
      |                                                               )
main.c:13:13: error: expected ';' before '}' token
   13 |   return(0);
      |             ^
      |             ;
   14 | }
      | ~
Language: C

    #include <iostream>
    #include <string>
    #include <math.h>
    #include <stdio.h>
     
    using namespace std;
     
    int main() {
    int a,b,c;
    double d,e,f,g;
    d=a*3.141592/180;
    e=0.5*a*b*sin(d);
    f=a+b+sqrt(a*a+b*b-2*a*b*cos(d));
    g=b*sin(d);
    printf("%.7f\n",e);
    printf("%.7f\n",f);
    printf("%.7f\n",g);
    return 0;
    }

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

    #include <iostream>
    #include <string>
    #include <math.h>
    #include <stdio.h>
     
    using namespace std;
     
    int main() {
    int a,b,c;
    double d,e,f,g;
    d=a*3.141592653/180;
    e=0.5*a*b*sin(d);
    f=a+b+sqrt(a*a+b*b-2*a*b*cos(d));
    g=b*sin(d);
    printf("%.7f\n",e);
    printf("%.7f\n",f);
    printf("%.7f\n",g);
    return 0;
    }

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

input = STDIN.gets.split(' ')
a = input[0].to_i
b = input[1].to_i
c = input[2].to_i * (Math::PI / 180)

s = (a * b * Math.sin(c)) / 2
l = a + b + Math.sqrt(a*a + b*b - Math.cos(c))
h = b * Math.sin(c)

puts s
puts l
puts h

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | input = STDIN.gets.split(' ')
      | ^~~~~
main.c:1:1: error: type defaults to 'int' in declaration of 'input' [-Wimplicit-int]
main.c:1:9: error: 'STDIN' undeclared here (not in a function)
    1 | input = STDIN.gets.split(' ')
      |         ^~~~~
main.c:2:1: error: expected ',' or ';' before 'a'
    2 | a = input[0].to_i
      | ^
Language: C

#include<iostream>
#include<iomanip>
#include<cmath>
#define PI 3.14159265359
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
cout<<setprecision(10)<<cos(c*PI/180)*a*b<<" "<<a+b+sqrt(a*a+b*b-2*a*b*cos(c*PI/180))<<" "<<b*cos(c*PI/180)<<endl;
}

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

#include<bits/stdc++.h>
using namespace std;

int main(){
  long double a,b,c;
  cin>>a>>b>>c;
  //cout<<pow(pow(x2-x1,2)+pow(y2-y1,2),0.5)<<endl;
  cout<<std::fixed<<std::setprecision(10)<<0.5*a*b*sin(c*(M_PI/180))<<endl<<a+b+pow(a*a+b*b-2*a*b*cos(c*(M_PI/180)),0.5)<<endl<<2*a*b*sin(c*(M_PI/180))/a<<endl;
  //cout<<hypot(x2-x1,y2-y1)<<endl;
}

#include<bits/stdc++.h>
using namespace std;

int main(){
  long double a,b,c;
  cin>>a>>b>>c;
  //cout<<pow(pow(x2-x1,2)+pow(y2-y1,2),0.5)<<endl;
  cout<<std::fixed<<std::setprecision(10)<<0.5*a*b*sin(c*(M_PI/180))<<endl<<a+b+pow(a*a+b*b-2*a*b*cos(c*(M_PI/180)),0.5)<<endl<<a*b*sin(c*(M_PI/180))/a<<endl;
  //cout<<hypot(x2-x1,y2-y1)<<endl;
}




Compiler output:
a.cc:15:5: error: redefinition of 'int main()'
   15 | int main(){
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main(){
      |     ^~~~
Language: C++

#include<iostream>
#include<stdio.h>
#include<cmath>
 
using namespace std;
int main () {
    double a,b,C,S,L,h;
    cin >> a >> b >> C;
    S=a*b*sin(C*M_PI/180)/2;
    L=a+b+sqrt(a*a+b*b-2*a*b*cos(C*M_PI/180));
    h=b*sin(C*M_PI/180);
    printf("%.6f\n",%S);
    printf("%.6f\n",%L);
    printf("%.6f\n",%h);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:21: error: expected primary-expression before '%' token
   12 |     printf("%.6f\n",%S);
      |                     ^
a.cc:13:21: error: expected primary-expression before '%' token
   13 |     printf("%.6f\n",%L);
      |                     ^
a.cc:14:21: error: expected primary-expression before '%' token
   14 |     printf("%.6f\n",%h);
      |                     ^
Language: C++

#include <cmath>
#include <iostream>
#include <iomanip>

using namespace std;

int main()
{
	double a, b, c
	cin >> a >> b >> c;

	double ret = a * b * sin(c) / 2;
	cout << setprecision(10) << ret << endl;
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: expected initializer before 'cin'
   10 |         cin >> a >> b >> c;
      |         ^~~
a.cc:12:34: error: 'c' was not declared in this scope
   12 |         double ret = a * b * sin(c) / 2;
      |                                  ^
Language: C++

#include <iostream>
#include <cmath>
using namespace std;
int main(){
    double a,b,c,S,L,h,rad;
    double PI = acos(-1);
    cin>>a>>b>>c;
    rad = c*PI/180;
    S = a*b*sin(rad)/2;
    L = 2*a+2*b;
    h = 2S/a;
    cout<<S<<endl;
    cout<<L<<endl;
    cout<<h<<endl;
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: unable to find numeric literal operator 'operator""S'
   11 |     h = 2S/a;
      |         ^~
Language: C++

#include <iostream>
#include <stdio.h>
#include <cmath>
using namespace std;
int main(){
    double a,b,,d,S,L,h,rad;
    int c;
    double PI = acos(-1);
    cin>>a>>b>>c;
    rad = c*PI/180;
    S = a*b*sin(rad)/2;
    L = a+b+sqrt(a*a+b*b-2*a*b*cos(rad));
    h = 2*S/a;
    printf("%.8lf\n", S);
    printf("%.8lf\n", L);
    printf("%.8lf\n", h);
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: expected unqualified-id before ',' token
    6 |     double a,b,,d,S,L,h,rad;
      |                ^
Language: C++

#include <iostream>
#include <cstdio>
#include <cmath>
using namespace std;

int main(void) {
    double pi = arccos(-1);
    double a, b, c;
    int C;
    double S, L, h;
    
    cin >> a >> b >> C;
    
    C = pi * C / 360;
    c = a*a + b*b -2*a*b*cos(C);
    
    S = a * b * sin(C) / 2;
    L = a + b + c;
    h = S / a;
    printf("%.8lf\n", S);
    printf("%.8lf\n", L);
    printf("%.8lf\n", h);
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: 'arccos' was not declared in this scope; did you mean 'acos'?
    7 |     double pi = arccos(-1);
      |                 ^~~~~~
      |                 acos
Language: C++

#include<iostream>
#include<stdio.h>
#include<math.h>
using namespace std;
int main(){
    int a,b,C
    double c,S,L,h;
    cin >> a >> b >> C;
    h = b*sin(C*M_PI/180);
    S = a*h/2;
    c = a*a + b*b - 2*a*b*cos(C*M_PI/180);
    L = a+b+c;
    cout  << S << endl;
    cout  << L << endl;
    cout  << h << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: expected initializer before 'double'
    7 |     double c,S,L,h;
      |     ^~~~~~
a.cc:8:22: error: 'C' was not declared in this scope
    8 |     cin >> a >> b >> C;
      |                      ^
a.cc:9:5: error: 'h' was not declared in this scope
    9 |     h = b*sin(C*M_PI/180);
      |     ^
a.cc:10:5: error: 'S' was not declared in this scope
   10 |     S = a*h/2;
      |     ^
a.cc:11:5: error: 'c' was not declared in this scope
   11 |     c = a*a + b*b - 2*a*b*cos(C*M_PI/180);
      |     ^
a.cc:12:5: error: 'L' was not declared in this scope
   12 |     L = a+b+c;
      |     ^
Language: C++

#include<iostream>
#include<stdio.h>
#include<cmath>
using namespace std;
int main(){
    int a,b,C;
    double S,L,h,c,x;
    cin>>a>>b>>C;
    x=arccos(-1)*C;
    S=a*b*sin(x);
    c=sqrt(a*a+b*b-2*a*b*cos(x));
    L=a+b+c;
    h=b*sin(x);
    printf("%f\n %f\n %f\n",S,L,h);
    return 0;
    
}



Compiler output:
a.cc: In function 'int main()':
a.cc:9:7: error: 'arccos' was not declared in this scope; did you mean 'acos'?
    9 |     x=arccos(-1)*C;
      |       ^~~~~~
      |       acos