0_0_5387226_21230\Main.java:1: illegal character: \35
#include <stdio.h>
^
0_0_5387226_21230\Main.java:3: illegal character: \35
#include <string.h>
^
0_0_5387226_21230\Main.java:5: illegal character: \35
#include <stdlib.h>
^
0_0_5387226_21230\Main.java:7: illegal character: \35
#include <math.h>
^
0_0_5387226_21230\Main.java:11: class, interface, or enum expected
double sss(int x,int y)
^
0_0_5387226_21230\Main.java:17: class, interface, or enum expected
int a=x+y;
^
0_0_5387226_21230\Main.java:19: class, interface, or enum expected
sum+=a*(a-1)*sqrt(2.0)/2;
^
0_0_5387226_21230\Main.java:21: class, interface, or enum expected
for(int i=a;i>0;--i)
^
0_0_5387226_21230\Main.java:21: class, interface, or enum expected
for(int i=a;i>0;--i)
^
0_0_5387226_21230\Main.java:21: class, interface, or enum expected
for(int i=a;i>0;--i)
^
0_0_5387226_21230\Main.java:25: class, interface, or enum expected
sum+=(a-y)*sqrt(2.0);
^
0_0_5387226_21230\Main.java:27: class, interface, or enum expected
return sum;
^
0_0_5387226_21230\Main.java:29: class, interface, or enum expected
}
^
0_0_5387226_21230\Main.java:37: class, interface, or enum expected
double t;
^
0_0_5387226_21230\Main.java:39: class, interface, or enum expected
scanf("%d",&n);
^
0_0_5387226_21230\Main.java:41: class, interface, or enum expected
while(n--)
^
0_0_5387226_21230\Main.java:47: class, interface, or enum expected
t=fabs(sss(x1,y1)-sss(x2,y2));
^
0_0_5387226_21230\Main.java:49: class, interface, or enum expected
printf("%.3lf\n",t);
^
0_0_5387226_21230\Main.java:51: class, interface, or enum expected
}
^
0_0_5387226_21230\Main.java:57: class, interface, or enum expected
}
^
20 errors
|