0_0_21119506_30518\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_21119506_30518\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
^
0_0_21119506_30518\Main.java:2: 错误: 非法字符: '#'
#include<ctype.h>
^
0_0_21119506_30518\Main.java:3: 错误: 非法字符: '#'
#include<math.h>
^
0_0_21119506_30518\Main.java:4: 错误: 非法字符: '#'
#include<stdlib.h>
^
0_0_21119506_30518\Main.java:5: 错误: 非法字符: '#'
#include<string.h>
^
0_0_21119506_30518\Main.java:9: 错误: 需要class, interface或enum
long long tot;
^
0_0_21119506_30518\Main.java:10: 错误: 需要class, interface或enum
int *front, *back;
^
0_0_21119506_30518\Main.java:12: 错误: 需要class, interface或enum
void in(int *r)
^
0_0_21119506_30518\Main.java:15: 错误: 需要class, interface或enum
while((ch=getchar())&&(ch<'0'||ch>'9'));
^
0_0_21119506_30518\Main.java:16: 错误: 需要class, interface或enum
for(*r=0;ch>='0'&&ch<='9';ch = getchar())
^
0_0_21119506_30518\Main.java:16: 错误: 需要class, interface或enum
for(*r=0;ch>='0'&&ch<='9';ch = getchar())
^
0_0_21119506_30518\Main.java:16: 错误: 需要class, interface或enum
for(*r=0;ch>='0'&&ch<='9';ch = getchar())
^
0_0_21119506_30518\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_21119506_30518\Main.java:26: 错误: 需要class, interface或enum
n1 = q - l + 1;
^
0_0_21119506_30518\Main.java:27: 错误: 需要class, interface或enum
n2 = r - q;
^
0_0_21119506_30518\Main.java:28: 错误: 需要class, interface或enum
front = (int *) malloc (n1 * sizeof(int));
^
0_0_21119506_30518\Main.java:29: 错误: 需要class, interface或enum
back = (int *) malloc (n2 * sizeof(int));
^
0_0_21119506_30518\Main.java:30: 错误: 需要class, interface或enum
for(i = 0; i < n1; i++)
^
0_0_21119506_30518\Main.java:30: 错误: 需要class, interface或enum
for(i = 0; i < n1; i++)
^
0_0_21119506_30518\Main.java:30: 错误: 需要class, interface或enum
for(i = 0; i < n1; i++)
^
0_0_21119506_30518\Main.java:32: 错误: 需要class, interface或enum
for(i = 0; i < n2; i++)
^
0_0_21119506_30518\Main.java:32: 错误: 需要class, interface或enum
for(i = 0; i < n2; i++)
^
0_0_21119506_30518\Main.java:32: 错误: 需要class, interface或enum
for(i = 0; i < n2; i++)
^
0_0_21119506_30518\Main.java:34: 错误: 需要class, interface或enum
i = 0, j = 0, k = l;
^
0_0_21119506_30518\Main.java:35: 错误: 需要class, interface或enum
while(i < n1 && j < n2)
^
0_0_21119506_30518\Main.java:38: 错误: 需要class, interface或enum
else {
^
0_0_21119506_30518\Main.java:40: 错误: 需要class, interface或enum
tot+=(q-i+1);
^
0_0_21119506_30518\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_21119506_30518\Main.java:44: 错误: 需要class, interface或enum
while(j < n2) a[k++] = back[j++];
^
0_0_21119506_30518\Main.java:45: 错误: 需要class, interface或enum
free(front);
^
0_0_21119506_30518\Main.java:46: 错误: 需要class, interface或enum
free(back);
^
0_0_21119506_30518\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_21119506_30518\Main.java:52: 错误: 需要class, interface或enum
if(l < r)
^
0_0_21119506_30518\Main.java:55: 错误: 需要class, interface或enum
mergeSort(l, m);
^
0_0_21119506_30518\Main.java:56: 错误: 需要class, interface或enum
mergeSort(m + 1, r);
^
0_0_21119506_30518\Main.java:57: 错误: 需要class, interface或enum
merge(l, m, r);
^
0_0_21119506_30518\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_21119506_30518\Main.java:64: 错误: 需要class, interface或enum
while(~scanf("%d", &n))
^
0_0_21119506_30518\Main.java:67: 错误: 需要class, interface或enum
tot=0;
^
0_0_21119506_30518\Main.java:68: 错误: 需要class, interface或enum
in(&n);
^
0_0_21119506_30518\Main.java:69: 错误: 需要class, interface或enum
a = (int *) malloc (n * sizeof(int));
^
0_0_21119506_30518\Main.java:70: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_21119506_30518\Main.java:70: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_21119506_30518\Main.java:70: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_21119506_30518\Main.java:72: 错误: 需要class, interface或enum
mergeSort(0, n-1);
^
0_0_21119506_30518\Main.java:73: 错误: 需要class, interface或enum
printf("%lld\n",tot);
^
0_0_21119506_30518\Main.java:74: 错误: 需要class, interface或enum
free(a);
^
0_0_21119506_30518\Main.java:75: 错误: 需要class, interface或enum
}
^
0_0_21119506_30518\Main.java:78: 错误: 需要class, interface或enum
}
^
50 个错误
|