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

import java.math.BigDecimal;
import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double r, pi = 3.141592653589;
    r = sc.nextDouble();
    BigDecimal br = new BigDecimal(r);
    BigDecimal bpi = new BigDecimal(pi);
    BigDecimal bs = bpi.multiply(br.multiply(br));
    BigDecimal bl = bpi.multiply(br.multiply(2.0));
    System.out.println(bs + " " + bl);
  }
}

Compiler output:
Main.java:11: error: incompatible types: double cannot be converted to BigDecimal
    BigDecimal bl = bpi.multiply(br.multiply(2.0));
                                             ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
Language: Java

import java.util.*;
public class AOJ10009 {
	public static void main(String[] args) {
		Scanner n = new Scanner(System.in);
		int r = n.nextInt();
		double men = r*r*Math.PI;
		double shu = r*2*Math.PI;
		System.out.println(men+" "+shu);
	}
}

Compiler output:
Main.java:2: error: class AOJ10009 is public, should be declared in a file named AOJ10009.java
public class AOJ10009 {
       ^
1 error
Language: Java

import java.util.Scanner;


public class AOJ10009 {
	public static void main(String[] args){
		Scanner n = new Scanner(System.in);
		int r;
		r = n.nextInt();
		System.out.printf("%.5f" , r*r*Math.PI + " " + "%.5f" , 2*r*Math.PI );
	}
}

Compiler output:
Main.java:4: error: class AOJ10009 is public, should be declared in a file named AOJ10009.java
public class AOJ10009 {
       ^
1 error
Language: Java

import java.util.*;
class Main{
        public static void main(String[] args){
                Scanner n = new Scanner(System.in);
                double r = n.nextDouble();
                System.out.println(Math.PI*r*r +" " + 2*Math.PI*r + );
        }
}

Compiler output:
Main.java:6: error: illegal start of expression
                System.out.println(Math.PI*r*r +" " + 2*Math.PI*r + );
                                                                    ^
1 error
Language: Java

import java.util.scanner;

class Main{
  public static void main(String[] args){
    float r , p;
    Scanner sc = new Scanner(System.in);
    r = sc.nextFloat();
    p = (float) Math.PI;
    System.out.printf("%f %f\n", 2+r+p, p*r*r);
  }
}

Compiler output:
Main.java:1: error: cannot find symbol
import java.util.scanner;
                ^
  symbol:   class scanner
  location: package java.util
Main.java:6: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: Java

import java.util.*;
import java.io.*;


class Main {
    public static void main(String[] args) throws IOException {
        Scanner sc = new Scanner(System.in);
        
        double circ, area;
        int r = sc.nextInt(), pi = Math.PI;
        circ = 2 * r * pi;
        area = r * r * pi;
        
        System.out.printf("%.6f %.6f\n",area, circ);
    }
}

Compiler output:
Main.java:10: error: incompatible types: possible lossy conversion from double to int
        int r = sc.nextInt(), pi = Math.PI;
                                       ^
1 error
Language: Java

import java.util.scanner;
public Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
double r = sc.nextDouble();
System.out.println(r*r*Math.PI + " " + 2*r*Math.PI);
}
}

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
public Main {
       ^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String args[]) {
              ^
  (use --enable-preview to enable unnamed classes)
Main.java:8: error: class, interface, enum, or record expected
}
^
3 errors
Language: Java

import java.util.Scanner;

public class main {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);			
		sc.useDelimiter("\\s"); 
		int x=sc.nextInt();
		double r=3.14159275;
		double d=3.1415;
		double S=(double)x*(double)x*r;
		double R=(double)x*2*r;
		System.out.printf("%f %f\n",S,R);
	}
	

}

Compiler output:
Main.java:3: error: class main is public, should be declared in a file named main.java
public class main {
       ^
1 error
Language: Java

import java.util.Scanner;

public class AOJ109 {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		int x=sc.nextInt();
		double s=(double)x*(double)x*3.141592653589;
		double r=(double)x*2.0*3.141592653589;
		System.out.printf("%.6f %.6f\n",s,r);
	}
}

Compiler output:
Main.java:3: error: class AOJ109 is public, should be declared in a file named AOJ109.java
public class AOJ109 {
       ^
1 error
Language: Java

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner stdIn = new Scanner(System.in);
		
		double r = stdIn.nextDouble();
		
		System.out.printf("%.6f %.6f\n",(r * r * Math.PI),(2 * r * Math.PI)); 
	}

}

Compiler output:
Main.java:5: error: cannot find symbol
		Scanner stdIn = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
		Scanner stdIn = new Scanner(System.in);
		                    ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		float r;
		r = sc.nextFloat();
		System.out.println(( r*r*Math.PI) + " " + 2*r*Math.PI);

	}

}

Compiler output:
Main.java:3: error: class main is public, should be declared in a file named main.java
public class main {
       ^
1 error
Language: C

#include <stdio.h>

#define PI 3.141592653589

int main(void)
{
	double r;
	double s;
	double l;
	
	scanf("%lf", &r);
	
	s = r * r * PI;
	l = r * 2.0 * PI;
	
	printf("%lf %lf\n", s, i);
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:16:32: error: 'i' undeclared (first use in this function)
   16 |         printf("%lf %lf\n", s, i);
      |                                ^
main.c:16:32: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

int main(){

    float r,pi= 3.14159 26535;
    scanf("%f",&r);
    printf("%f %f\n",pi*r*r,2*pi*r);
    
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:25: error: expected ',' or ';' before numeric constant
    5 |     float r,pi= 3.14159 26535;
      |                         ^~~~~
Language: C

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

int main(void)
{
	double a,s,l,b;
	b = M_PI;
	scanf("%d",&a);
	l = 2*a*b;
	s = a^2*b;
	double f = (double)a/b;
	printf("%f %f\n",s,l);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:14: error: invalid operands to binary ^ (have 'double' and 'double')
   10 |         s = a^2*b;
      |              ^~~~
      |                |
      |                double
Language: C

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

int main(void){

int r;

scanf("%d",&r);

printf("%.7f %.7f\n"M_PI*r*r,2*M_PI*r);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:21: error: expected ')' before numeric constant
   10 | printf("%.7f %.7f\n"M_PI*r*r,2*M_PI*r);
      |       ~             ^
      |                     )
Language: C

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

int main(void){

int r;

scanf("%d",&r);

printf("%f %f\n"M_PI*r*r,2*M_PI*r);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:17: error: expected ')' before numeric constant
   10 | printf("%f %f\n"M_PI*r*r,2*M_PI*r);
      |       ~         ^
      |                 )
Language: C

clude<stdio.h>
int main(){
	float r,pai,a,l;
	pai = 3.141592;
	scanf("%f",&r);
	a=r*r*pai;
	l=r*2*pai;
	printf("%2.5f %2.5f\n",a,l);
	return 0;
}

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

テッツシツナnclude<stdio.h>

int main(void)
{
  int r;
  scanf("%d",&r);
  printf("%f %f",(double)r*r*3.1415926,(double)2*r*3.1415926);
  return 0;
}

Compiler output:
main.c:1:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | テッツシツナnclude<stdio.h>
      |                   ^
Language: C

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

int main(void)
{
  double r;
  scanf("%lf",&r);
  printf("%f %f\n",(double)r*r*M_pi,(double)2*r*M_pi);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:32: error: 'M_pi' undeclared (first use in this function); did you mean 'M_PI'?
    8 |   printf("%f %f\n",(double)r*r*M_pi,(double)2*r*M_pi);
      |                                ^~~~
      |                                M_PI
main.c:8:32: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

int main(void)
{
	double r,x,y;
	scanf("%lf",&r);
	x=r*r*PI;
	y=2.0*r*PI;
	printf("%.6f %.6f\n",x,y);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:15: error: 'PI' undeclared (first use in this function)
    8 |         x=r*r*PI;
      |               ^~
main.c:8:15: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
int main(void)
{
    double r,??;
    ?? = 3.14159265;
    scanf("%lf", &r);
    printf("%f %f\n", r*r*??, 2*r*??);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:14: error: expected identifier or '(' before '?' token
    4 |     double r,??;
      |              ^
main.c:5:5: error: expected expression before '?' token
    5 |     ?? = 3.14159265;
      |     ^
main.c:7:27: error: expected expression before '?' token
    7 |     printf("%f %f\n", r*r*??, 2*r*??);
      |                           ^
main.c:7:35: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs]
    7 |     printf("%f %f\n", r*r*??, 2*r*??);
Language: C

#include <stdio.h>
int main(void)
{
    double r,??;
    ?? = 3.14159265;
    scanf("%lf", &r);
    printf("%lf %lf\n", r*r*??, 2*r*??);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:14: error: expected identifier or '(' before '?' token
    4 |     double r,??;
      |              ^
main.c:5:5: error: expected expression before '?' token
    5 |     ?? = 3.14159265;
      |     ^
main.c:7:29: error: expected expression before '?' token
    7 |     printf("%lf %lf\n", r*r*??, 2*r*??);
      |                             ^
main.c:7:37: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs]
    7 |     printf("%lf %lf\n", r*r*??, 2*r*??);
Language: C

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

int main(){

double r;
printf("%f %f\n",r*r*Pi,2*r*Pi);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:22: error: 'Pi' undeclared (first use in this function)
    7 | printf("%f %f\n",r*r*Pi,2*r*Pi);
      |                      ^~
main.c:7:22: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

int main(){

double r;
printf("%f %f\n",r*r*PI,2*r*PI);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:22: error: 'PI' undeclared (first use in this function)
    7 | printf("%f %f\n",r*r*PI,2*r*PI);
      |                      ^~
main.c:7:22: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

int main(){

double r;
scanf("%lf",&r);
printf("%f %f\n",r*r*Pi,2*r*Pi);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:22: error: 'Pi' undeclared (first use in this function)
    8 | printf("%f %f\n",r*r*Pi,2*r*Pi);
      |                      ^~
main.c:8:22: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

int main(){

double r;
scanf("%lf",&r);
printf("%f %f\n",r*r*PI,2*r*PI);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:22: error: 'PI' undeclared (first use in this function)
    8 | printf("%f %f\n",r*r*PI,2*r*PI);
      |                      ^~
main.c:8:22: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

int main( void )
{
        double r=0;

        scanf("%lf",&r);

        printf("%f %f",r*r*M_PI,2*r*M_PI);

        return 0;
}
~

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

int main(int argc, const char * argv[])
{
    int r;
    double area,length;
    scanf("%d",&r);
    area = r*r*M_PI;
    length = 2*r*M_PI;
    printf("%f %f\n",area,length);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |     scanf("%d",&r);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(int argc, const char * argv[])
main.c:5:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |     scanf("%d",&r);
      |     ^~~~~
main.c:5:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:16: error: 'M_PI' undeclared (first use in this function)
    6 |     area = r*r*M_PI;
      |                ^~~~
main.c:6:16: 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("%f %f\n",area,length);
      |     ^~~~~~
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 r;
??
????scanf("%lf",&r);
??
????printf("%f %f",r*r*3.1415926535,2*r*3.1415926535);
??
????return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:1: error: expected expression before '?' token
    3 | ??
      | ^
main.c:5:1: error: expected expression before '?' token
    5 | ??
      | ^
main.c:6:18: error: 'r' undeclared (first use in this function)
    6 | ????scanf("%lf",&r);
      |                  ^
main.c:6:18: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:1: error: expected expression before '?' token
    7 | ??
      | ^
main.c:8:54: error: expected ':' before ';' token
    8 | ????printf("%f %f",r*r*3.1415926535,2*r*3.1415926535);
      |                                                      ^
      |                                                      :
main.c:9:1: error: expected expression before '?' token
    9 | ??
      | ^
Language: C

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

int main(){
        int r;
        double l, s;

        scanf("%d",&r);

        l = 2 * r * M_PI;
        s = r * r * M_PI;

        printf("%lf %lf\n",l, s); 

        return 0;
}

Compiler output:
main.c:1:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | nclude<stdio.h>
      |       ^
main.c: In function 'main':
main.c:8:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    8 |         scanf("%d",&r);
      |         ^~~~~
main.c:3:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
    2 | #include<math.h>
  +++ |+#include <stdio.h>
    3 | 
main.c:8:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    8 |         scanf("%d",&r);
      |         ^~~~~
main.c:8:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:13:9: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   13 |         printf("%lf %lf\n",l, s);
      |         ^~~~~~
main.c:13:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:13:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:13:9: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<stdio.h>

int main(void){
	int x;
	scanf(&x,%d);
	printf("%d",x*x*x);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:18: error: expected expression before '%' token
    5 |         scanf(&x,%d);
      |                  ^
main.c:5:15: error: passing argument 1 of 'scanf' from incompatible pointer type [-Wincompatible-pointer-types]
    5 |         scanf(&x,%d);
      |               ^~
      |               |
      |               int *
In file included from main.c:1:
/usr/include/stdio.h:428:42: note: expected 'const char *' but argument is of type 'int *'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C

#include<stdio.h>

int main(void){
	int x;
	scanf(%d,&x);
	printf("%d",x*x*x);
	return 0;
}

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

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

int main(){
 double r;
 scanf("%lf",&r);
 printf("%lf %lf\n",M_PI*r*r,2*M_PI*r);
 return 0;
}

Compiler output:
main.c:2:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    2 | #inlcude<math.h>
      |  ^~~~~~~
      |  include
main.c: In function 'main':
main.c:7:21: error: 'M_PI' undeclared (first use in this function)
    7 |  printf("%lf %lf\n",M_PI*r*r,2*M_PI*r);
      |                     ^~~~
main.c:7:21: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<iostream>
#include<iomanip>

#define PI 3.14159265358979

using namespace std;

int main(void){
  float r,S,ar;

  cin >> r;

  S = r*r*PI;
  ar = 2*PI*r;

  cout << S << ' ' << ar << endl;

  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>
#include<math.h>
int main()
{
  float r,ans1,ans2;
  r=ans1=ans2=0;
  scanf("%f",r);
  ans1 = (2 * MP_I * r);
  ans2 = (r * r * MP_I);
  printf("%d %d\n",ans1,ans2);
}
  

Compiler output:
main.c: In function 'main':
main.c:8:15: error: 'MP_I' undeclared (first use in this function); did you mean 'M_PI'?
    8 |   ans1 = (2 * MP_I * r);
      |               ^~~~
      |               M_PI
main.c:8:15: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
int main(void)
{
	double r,d,f;
	scanf("%lf",&r);
	d=(double)r*r*M_PI;
	f=(double)(r+r)*M_PI;
	printf("%lf %lf",d,f);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:23: error: 'M_PI' undeclared (first use in this function)
    6 |         d=(double)r*r*M_PI;
      |                       ^~~~
main.c:6:23: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
  int main(){
    double n;
    scanf("%d",&n);
        s = n*n*3.141592653589;
          l = 2*n*3.141592653589;
printf("%f %f ",s,l);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:9: error: 's' undeclared (first use in this function)
    5 |         s = n*n*3.141592653589;
      |         ^
main.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:11: error: 'l' undeclared (first use in this function)
    6 |           l = 2*n*3.141592653589;
      |           ^
Language: C

#include <stdio.h>
  int main(){
    double n;
    scanf("%f",&n);
        s = n*n*3.141592653589;
          l = 2*n*3.141592653589;
printf("%f %f ",s,l);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:9: error: 's' undeclared (first use in this function)
    5 |         s = n*n*3.141592653589;
      |         ^
main.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:11: error: 'l' undeclared (first use in this function)
    6 |           l = 2*n*3.141592653589;
      |           ^
Language: C

#include <stdio.h>
  int main(){
    double n;
    scanf("%f",&n);
      int s.l;
        s = n*n*3.141592653589;
          l = 2*n*3.141592653589;
printf("%f %f ",s,l);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    5 |       int s.l;
      |            ^
main.c:5:12: error: expected expression before '.' token
main.c:6:9: error: 's' undeclared (first use in this function)
    6 |         s = n*n*3.141592653589;
      |         ^
main.c:6:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:11: error: 'l' undeclared (first use in this function)
    7 |           l = 2*n*3.141592653589;
      |           ^
Language: C

double a;main(){scanf("%lf",&a);a=!printf("%f %f\n",a*a*M_PI,2*a*M_PI);}

Compiler output:
main.c:1:10: error: return type defaults to 'int' [-Wimplicit-int]
    1 | double a;main(){scanf("%lf",&a);a=!printf("%f %f\n",a*a*M_PI,2*a*M_PI);}
      |          ^~~~
main.c: In function 'main':
main.c:1:17: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | double a;main(){scanf("%lf",&a);a=!printf("%f %f\n",a*a*M_PI,2*a*M_PI);}
      |                 ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | double a;main(){scanf("%lf",&a);a=!printf("%f %f\n",a*a*M_PI,2*a*M_PI);}
main.c:1:17: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | double a;main(){scanf("%lf",&a);a=!printf("%f %f\n",a*a*M_PI,2*a*M_PI);}
      |                 ^~~~~
main.c:1:17: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:36: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | double a;main(){scanf("%lf",&a);a=!printf("%f %f\n",a*a*M_PI,2*a*M_PI);}
      |                                    ^~~~~~
main.c:1:36: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:36: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:36: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:57: error: 'M_PI' undeclared (first use in this function)
    1 | double a;main(){scanf("%lf",&a);a=!printf("%f %f\n",a*a*M_PI,2*a*M_PI);}
      |                                                         ^~~~
main.c:1:57: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main(void)
{
	double r;

	scanf("%lf",&r);
	printf("%f %f\n",r*r*M_PI, 2*r*M_PI);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:30: error: 'M_PI' undeclared (first use in this function)
    8 |         printf("%f %f\n",r*r*M_PI, 2*r*M_PI);
      |                              ^~~~
main.c:8:30: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

int main(){
  double r,s,l;

  scanf("%lf",&r);
  s = r * r * Pi;
  l = 2 * r * Pi;
  printf("%f %f\n",s,l);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:15: error: 'Pi' undeclared (first use in this function)
    8 |   s = r * r * Pi;
      |               ^~
main.c:8:15: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include "stdio.h"
#include "math.h"

#define PI (6*asin(0.5))

int main(void){
double radius;
scanf("%lf",&radius);
printf("%f %f",2*radius*PI,radius*radius*PI,);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:45: error: expected expression before ')' token
    9 | printf("%f %f",2*radius*PI,radius*radius*PI,);
      |                                             ^
Language: C

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

int main(){
    double r;
    
    scanf("%lf",&r);
    
    enshu=2*M_PI*r;
    menseki=r*r*M_PI;
    
    printf("%.5lf %.5lf",enshu,menseki);
    
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:5: error: 'enshu' undeclared (first use in this function)
    9 |     enshu=2*M_PI*r;
      |     ^~~~~
main.c:9:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:5: error: 'menseki' undeclared (first use in this function)
   10 |     menseki=r*r*M_PI;
      |     ^~~~~~~
Language: C

#include <stdio.h>
int main(void){
int r;
double men, lon, pai,
pai = 3.141592;
men = pai * r * r;
lon = pai * 2 * r;
printf("%d %d",men,lon);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:1: error: redeclaration of 'pai' with no linkage
    5 | pai = 3.141592;
      | ^~~
main.c:4:18: note: previous declaration of 'pai' with type 'double'
    4 | double men, lon, pai,
      |                  ^~~
Language: C

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

int main(){
  double a;
  scanf("%lf",&a);
  printf("%f %f\n",a*a*M_PI,2*a*M_PI);
  return 0;
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
main.c: In function 'main':
main.c:6:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |   scanf("%lf",&a);
      |   ^~~~~
main.c:3:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
    2 | #include<math.h>
  +++ |+#include <stdio.h>
    3 | 
main.c:6:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |   scanf("%lf",&a);
      |   ^~~~~
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:7:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 |   printf("%f %f\n",a*a*M_PI,2*a*M_PI);
      |   ^~~~~~
main.c:7:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:7:3: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include <stdio.h>

int main() {
  double x, y, z, const a = 3.1415926535;

  scanf("%lf", &x);

  z = 2 * x * a;
  y = a * x * x;

  printf("%f %f\n", y, z);

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:19: error: expected identifier or '(' before 'const'
    4 |   double x, y, z, const a = 3.1415926535;
      |                   ^~~~~
main.c:8:15: error: 'a' undeclared (first use in this function)
    8 |   z = 2 * x * a;
      |               ^
main.c:8:15: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
int main (void)
{
	int r,M_PI,men,syuu;
	scanf("%d %d %d %d"&r,&M_PI);

		men=r*r*M_PI;
		syuu=2r*M_PI;

	printf("%d,%d\n,r,M_PI");
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:28: error: invalid operands to binary & (have 'char *' and 'int')
    5 |         scanf("%d %d %d %d"&r,&M_PI);
      |               ~~~~~~~~~~~~~^
      |               |
      |               char *
main.c:8:17: warning: large fixed-point constant implicitly truncated to fixed-point type [-Woverflow]
    8 |                 syuu=2r*M_PI;
      |                 ^~~~
main.c:8:22: error: fixed-point types not supported for this target
    8 |                 syuu=2r*M_PI;
      |                      ^~
Language: C

#include<stdio.h>
int main (void)
{
	int r,M_PI,men,syuu;
	scanf("%d %d "&r,&M_PI);

		men=r*r*M_PI;
		syuu=2r*M_PI;

	printf("%d,%d\n,men,syuu");
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:23: error: invalid operands to binary & (have 'char *' and 'int')
    5 |         scanf("%d %d "&r,&M_PI);
      |               ~~~~~~~~^
      |               |
      |               char *
main.c:8:17: warning: large fixed-point constant implicitly truncated to fixed-point type [-Woverflow]
    8 |                 syuu=2r*M_PI;
      |                 ^~~~
main.c:8:22: error: fixed-point types not supported for this target
    8 |                 syuu=2r*M_PI;
      |                      ^~
Language: C

#include<stdio.h>
int main (void)
{
	int r,men,syuu;
	double M_PI;
	
	scanf("%d%d",&r,&M_PI);

		men=r*r*M_PI;
		syuu=2r*M_PI;

	printf("%d,%d\n,men,syuu");
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:17: warning: large fixed-point constant implicitly truncated to fixed-point type [-Woverflow]
   10 |                 syuu=2r*M_PI;
      |                 ^~~~
main.c:10:22: error: fixed-point types not supported for this target
   10 |                 syuu=2r*M_PI;
      |                      ^~
Language: C

#include<stdio.h>
int main (void)
{
	int r,men,syuu;
	double M_PI;
	
	scanf("%d%f",&r,&M_PI);

		men=r*r*M_PI;
		syuu=2r*M_PI;

	printf("%d,%d\n,men,syuu");
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:17: warning: large fixed-point constant implicitly truncated to fixed-point type [-Woverflow]
   10 |                 syuu=2r*M_PI;
      |                 ^~~~
main.c:10:22: error: fixed-point types not supported for this target
   10 |                 syuu=2r*M_PI;
      |                      ^~
Language: C

#include<stdio.h>
int main (void)
{
	int r,men,syuu;
	double M_PI;
	
	scanf("%d",&r,&M_PI);

		men=r*r*M_PI;
		syuu=2r*M_PI;

	printf("%d,%d,%f\n,men,syuu,M_PI");
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:17: warning: large fixed-point constant implicitly truncated to fixed-point type [-Woverflow]
   10 |                 syuu=2r*M_PI;
      |                 ^~~~
main.c:10:22: error: fixed-point types not supported for this target
   10 |                 syuu=2r*M_PI;
      |                      ^~
Language: C

#include<stdio.h>
int main (void)
{
	int r,men,syuu;
	double M_PI;
	
	scanf("%d",&r);

		men=r*r*M_PI;
		syuu=2r*M_PI;

	printf("%d,%d,%f\n,men,syuu,M_PI");
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:17: warning: large fixed-point constant implicitly truncated to fixed-point type [-Woverflow]
   10 |                 syuu=2r*M_PI;
      |                 ^~~~
main.c:10:22: error: fixed-point types not supported for this target
   10 |                 syuu=2r*M_PI;
      |                      ^~
Language: C

#include<stdio.h>
int main (void)
{
	int r,;
	double M_PI;
	char men,syuu
	scanf("%d",&r);

		men=r*r*M_PI;
		syuu=2r*M_PI;

	printf("%c,%c,%f\n,men,syuu,M_PI");
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:15: error: expected identifier or '(' before ';' token
    4 |         int r,;
      |               ^
main.c:7:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    7 |         scanf("%d",&r);
      |         ^~~~~
main.c:10:17: error: 'syuu' undeclared (first use in this function)
   10 |                 syuu=2r*M_PI;
      |                 ^~~~
main.c:10:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:17: warning: large fixed-point constant implicitly truncated to fixed-point type [-Woverflow]
main.c:10:22: error: fixed-point types not supported for this target
   10 |                 syuu=2r*M_PI;
      |                      ^~
Language: C

#include <stdio.h> 
 int main(void) 
 {
   double a;
   double c;
   c=3.141592653589793238462;
     scanf("%lf",&a);
     printf("%d %d\n",a*c,a*a*c);
  return 0; 
 

Compiler output:
main.c: In function 'main':
main.c:9:3: error: expected declaration or statement at end of input
    9 |   return 0;
      |   ^~~~~~
Language: C

include<stdio.h>
#define pi 3.141592

int main(void)
{
    double r,L,S;
    scanf("%lf",&r);
    L = 2 * pi * r;
    S = r * r * pi;
    printf("%f %f",S,L);
    return 0;
}

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

#include <stdio.h>
#include <math.h>
int main(){
	double r;
	scanf("%f",&r);
	printf("%f %f\n",r*r*M_PI,2*r:M_PI);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:38: error: expected ')' before ':' token
    6 |         printf("%f %f\n",r*r*M_PI,2*r:M_PI);
      |               ~                      ^
      |                                      )
Language: C

using System;
class main
{
    static void Main(string[] args)
    {
        double j = double.Parse(Console.ReadLine());
        Console.WriteLine((j*j*Math.PI) + " " + (2*j*Math.PI));
    }
}

Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using System;
      | ^~~~~
main.c:2:1: error: unknown type name 'class'
    2 | class main
      | ^~~~~
main.c:3:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    3 | {
      | ^
Language: C

#include <stdio.h>

int main(void)
{
	double r;
	scanf("%1f", &r);
	
	printf("%f %f\n", r * r * PI, 2 * r * PI);
	
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:8:35: error: 'PI' undeclared (first use in this function)
    8 |         printf("%f %f\n", r * r * PI, 2 * r * PI);
      |                                   ^~
main.c:8:35: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main(void)
{
	double r;
	scanf("%1f", &r);
	
	printf("%f %f\n", r * r *　3.141592653589793, 2 * r * 3.141592653589793);
	
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:8:34: error: stray '\343' in program
    8 |         printf("%f %f\n", r * r *<U+3000>3.141592653589793, 2 * r * 3.141592653589793);
      |                                  ^~~~~~~~
Language: C

#include<stdio.h>
#include<math.h>
int main()
{
    double r;
    scanf("%lf",&r);
    printf("%f %f\n,2 * r * M_PI,r * r * M_PI);

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:12: warning: missing terminating " character
    7 |     printf("%f %f\n,2 * r * M_PI,r * r * M_PI);
      |            ^
main.c:7:12: error: missing terminating " character
    7 |     printf("%f %f\n,2 * r * M_PI,r * r * M_PI);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:9:5: error: expected expression before 'return'
    9 |     return 0;
      |     ^~~~~~
main.c:9:14: error: expected ';' before '}' token
    9 |     return 0;
      |              ^
      |              ;
   10 | }
      | ~
Language: C

#include<stdio.h>
#include<math.h>
int main()
{
    double r;
    scanf("%lf",&r);
    printf("%f %f\n,2 * r * PI,r * r * PI);

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:12: warning: missing terminating " character
    7 |     printf("%f %f\n,2 * r * PI,r * r * PI);
      |            ^
main.c:7:12: error: missing terminating " character
    7 |     printf("%f %f\n,2 * r * PI,r * r * PI);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:9:5: error: expected expression before 'return'
    9 |     return 0;
      |     ^~~~~~
main.c:9:14: error: expected ';' before '}' token
    9 |     return 0;
      |              ^
      |              ;
   10 | }
      | ~
Language: C

#include<stdio.h>
int main()
{
   double r;
   scanf("%lf",&r);
   printf("%f %f\n,r*r*3.14159265358,2*r*3.14159265358);
   
   return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:11: warning: missing terminating " character
    6 |    printf("%f %f\n,r*r*3.14159265358,2*r*3.14159265358);
      |           ^
main.c:6:11: error: missing terminating " character
    6 |    printf("%f %f\n,r*r*3.14159265358,2*r*3.14159265358);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:8:4: error: expected expression before 'return'
    8 |    return 0;
      |    ^~~~~~
main.c:8:13: error: expected ';' before '}' token
    8 |    return 0;
      |             ^
      |             ;
    9 | }
      | ~
Language: C

#include<stdio.h>
int main()
{
   double r;
   scanf("%lf",&r);
   printf(%f %f\n,r*r*3.1415926535,2*r*3.1415926535);
   
   return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:11: error: expected expression before '%' token
    6 |    printf(%f %f\n,r*r*3.1415926535,2*r*3.1415926535);
      |           ^
main.c:6:16: error: stray '\' in program
    6 |    printf(%f %f\n,r*r*3.1415926535,2*r*3.1415926535);
      |                ^
Language: C

include<stdio.h>
#include<math.h>
main(){
  int r;
  scanf("%d",&r);
  printf("%.6f %.6f\n",r*r*M_PI,2*r*M_PI);
  return 0;
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(){
      | ^~~~
main.c: In function 'main':
main.c:5:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |   scanf("%d",&r);
      |   ^~~~~
main.c:3:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
    2 | #include<math.h>
  +++ |+#include <stdio.h>
    3 | main(){
main.c:5:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |   scanf("%d",&r);
      |   ^~~~~
main.c:5:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |   printf("%.6f %.6f\n",r*r*M_PI,2*r*M_PI);
      |   ^~~~~~
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include <stdio.h>
#define M_PI 3.14159265358979
int main(){
	int r;
	scanf_s("%d", &r);
	printf("%f %f", (double)r*r*M_PI, (double)2 * r*M_PI);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 |         scanf_s("%d", &r);
      |         ^~~~~~~
      |         scanf
Language: C

#include <stdio.h>
#define M_PI 3.14159265358979
int main(){
	int i;
	double r;
	scanf_s("%d", &i);
	r = (double)i;
	printf("%f %f", r*r*M_PI, 2 * r*M_PI);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |         scanf_s("%d", &i);
      |         ^~~~~~~
      |         scanf
Language: C

#include <stdio.h>

int main(void) {
	double r;
	scanf("%f",&r);
	printf("%f %f,3.14159265359*r*r,2*3.14159265359*r);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:16: warning: missing terminating " character
    6 |         printf("%f %f,3.14159265359*r*r,2*3.14159265359*r);
      |                ^
main.c:6:16: error: missing terminating " character
    6 |         printf("%f %f,3.14159265359*r*r,2*3.14159265359*r);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:7:9: error: expected expression before 'return'
    7 |         return 0;
      |         ^~~~~~
main.c:7:18: error: expected ';' before '}' token
    7 |         return 0;
      |                  ^
      |                  ;
    8 | }
      | ~
Language: C

#include <stdio.h>

int main(void) {
	float r;
	scanf("%f",&r);
	printf("%f %f,3.14159265359*r*r,2*3.14159265359*r);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:16: warning: missing terminating " character
    6 |         printf("%f %f,3.14159265359*r*r,2*3.14159265359*r);
      |                ^
main.c:6:16: error: missing terminating " character
    6 |         printf("%f %f,3.14159265359*r*r,2*3.14159265359*r);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:7:9: error: expected expression before 'return'
    7 |         return 0;
      |         ^~~~~~
main.c:7:18: error: expected ';' before '}' token
    7 |         return 0;
      |                  ^
      |                  ;
    8 | }
      | ~
Language: C

r;main(){scanf("%f
d",&r);r=!printf("%f\n",f*f/4*3.141592653589);}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | r;main(){scanf("%f
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'r' [-Wimplicit-int]
main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int]
    1 | r;main(){scanf("%f
      |   ^~~~
main.c: In function 'main':
main.c:1:10: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | r;main(){scanf("%f
      |          ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | r;main(){scanf("%f
main.c:1:10: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | r;main(){scanf("%f
      |          ^~~~~
main.c:1:10: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:16: warning: missing terminating " character
    1 | r;main(){scanf("%f
      |                ^
main.c:1:16: error: missing terminating " character
    1 | r;main(){scanf("%f
      |                ^~~
main.c:2:1: error: 'd' undeclared (first use in this function)
    2 | d",&r);r=!printf("%f\n",f*f/4*3.141592653589);}
      | ^
main.c:2:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:2:2: error: expected ')' before string constant
    2 | d",&r);r=!printf("%f\n",f*f/4*3.141592653589);}
      |  ^~~~~~~~~~~~~~~~~
      |  )
main.c:1:15: note: to match this '('
    1 | r;main(){scanf("%f
      |               ^
main.c:2:21: error: stray '\' in program
    2 | d",&r);r=!printf("%f\n",f*f/4*3.141592653589);}
      |                     ^
main.c:2:23: warning: missing terminating " character
    2 | d",&r);r=!printf("%f\n",f*f/4*3.141592653589);}
      |                       ^
main.c:2:23: error: missing terminating " character
    2 | d",&r);r=!printf("%f\n",f*f/4*3.141592653589);}
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:2:1: error: expected declaration or statement at end of input
    2 | d",&r);r=!printf("%f\n",f*f/4*3.141592653589);}
      | ^
Language: C

r;main(){scanf("%f
d",&r);r=!printf("%f\n",r*r/4*3.141592653589);}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | r;main(){scanf("%f
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'r' [-Wimplicit-int]
main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int]
    1 | r;main(){scanf("%f
      |   ^~~~
main.c: In function 'main':
main.c:1:10: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | r;main(){scanf("%f
      |          ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | r;main(){scanf("%f
main.c:1:10: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | r;main(){scanf("%f
      |          ^~~~~
main.c:1:10: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:16: warning: missing terminating " character
    1 | r;main(){scanf("%f
      |                ^
main.c:1:16: error: missing terminating " character
    1 | r;main(){scanf("%f
      |                ^~~
main.c:2:1: error: 'd' undeclared (first use in this function)
    2 | d",&r);r=!printf("%f\n",r*r/4*3.141592653589);}
      | ^
main.c:2:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:2:2: error: expected ')' before string constant
    2 | d",&r);r=!printf("%f\n",r*r/4*3.141592653589);}
      |  ^~~~~~~~~~~~~~~~~
      |  )
main.c:1:15: note: to match this '('
    1 | r;main(){scanf("%f
      |               ^
main.c:2:21: error: stray '\' in program
    2 | d",&r);r=!printf("%f\n",r*r/4*3.141592653589);}
      |                     ^
main.c:2:23: warning: missing terminating " character
    2 | d",&r);r=!printf("%f\n",r*r/4*3.141592653589);}
      |                       ^
main.c:2:23: error: missing terminating " character
    2 | d",&r);r=!printf("%f\n",r*r/4*3.141592653589);}
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:2:1: error: expected declaration or statement at end of input
    2 | d",&r);r=!printf("%f\n",r*r/4*3.141592653589);}
      | ^
Language: C

r;main(){scanf("%
d",&r);r=!printf("%f\n",r*r/4*3.141592653589);}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | r;main(){scanf("%
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'r' [-Wimplicit-int]
main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int]
    1 | r;main(){scanf("%
      |   ^~~~
main.c: In function 'main':
main.c:1:10: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | r;main(){scanf("%
      |          ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | r;main(){scanf("%
main.c:1:10: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | r;main(){scanf("%
      |          ^~~~~
main.c:1:10: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:16: warning: missing terminating " character
    1 | r;main(){scanf("%
      |                ^
main.c:1:16: error: missing terminating " character
    1 | r;main(){scanf("%
      |                ^~
main.c:2:1: error: 'd' undeclared (first use in this function)
    2 | d",&r);r=!printf("%f\n",r*r/4*3.141592653589);}
      | ^
main.c:2:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:2:2: error: expected ')' before string constant
    2 | d",&r);r=!printf("%f\n",r*r/4*3.141592653589);}
      |  ^~~~~~~~~~~~~~~~~
      |  )
main.c:1:15: note: to match this '('
    1 | r;main(){scanf("%
      |               ^
main.c:2:21: error: stray '\' in program
    2 | d",&r);r=!printf("%f\n",r*r/4*3.141592653589);}
      |                     ^
main.c:2:23: warning: missing terminating " character
    2 | d",&r);r=!printf("%f\n",r*r/4*3.141592653589);}
      |                       ^
main.c:2:23: error: missing terminating " character
    2 | d",&r);r=!printf("%f\n",r*r/4*3.141592653589);}
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:2:1: error: expected declaration or statement at end of input
    2 | d",&r);r=!printf("%f\n",r*r/4*3.141592653589);}
      | ^
Language: C++

#include<stdio.h>
int main(void)
{
	float r;
	
	scanf("%d",&r);
	
	printf("%f %f\n",r*r*M_PI,2*r*M_PI);
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:30: error: 'M_PI' was not declared in this scope
    8 |         printf("%f %f\n",r*r*M_PI,2*r*M_PI);
      |                              ^~~~
Language: C++

#include<iostream>
#include<cstdio>
#include<algorithm>
using namespace std;
int main(){
	long double r;
	long double p=3.141592;
	scanf("%lf",%r);
	printf("%f %f\n",r*r*p,2*r*p); 
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected primary-expression before '%' token
    8 |         scanf("%lf",%r);
      |                     ^
Language: C++

#include<iostream>
#include<cstdio>
#include<algorithm>
using namespace std;
int main(){
	double r;
	double p=3.141592;
	scanf("%lf", &r);
	int x=r*r*p;int y=2*r*p
	printf("%f %f\n",x,y); 
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: expected ',' or ';' before 'printf'
   10 |         printf("%f %f\n",x,y);
      |         ^~~~~~