0_0_15234596_23125\Main.java:3: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_15234596_23125\Main.java:3: 错误: 需要class, interface或enum
#include <stdio.h>
^
0_0_15234596_23125\Main.java:4: 错误: 非法字符: '#'
#include <string.h>
^
0_0_15234596_23125\Main.java:8: 错误: 需要class, interface或enum
int p,d,n,x,sum,m;
^
0_0_15234596_23125\Main.java:9: 错误: 需要class, interface或enum
scanf("%d",&p);
^
0_0_15234596_23125\Main.java:10: 错误: 需要class, interface或enum
while(p--)
^
0_0_15234596_23125\Main.java:13: 错误: 需要class, interface或enum
scanf("%d",&d);
^
0_0_15234596_23125\Main.java:14: 错误: 需要class, interface或enum
getchar();
^
0_0_15234596_23125\Main.java:15: 错误: 需要class, interface或enum
gets(a);
^
0_0_15234596_23125\Main.java:16: 错误: 需要class, interface或enum
scanf("%d",&n);
^
0_0_15234596_23125\Main.java:17: 错误: 需要class, interface或enum
printf("%d ",d);
^
0_0_15234596_23125\Main.java:18: 错误: 需要class, interface或enum
m = strlen(a);
^
0_0_15234596_23125\Main.java:19: 错误: 需要class, interface或enum
while(n--)
^
0_0_15234596_23125\Main.java:22: 错误: 需要class, interface或enum
sum = sum + x;
^
0_0_15234596_23125\Main.java:23: 错误: 需要class, interface或enum
if(sum < 0)
^
0_0_15234596_23125\Main.java:25: 错误: 需要class, interface或enum
else if(sum >= m)
^
0_0_15234596_23125\Main.java:27: 错误: 需要class, interface或enum
printf("%c",a[sum]);
^
0_0_15234596_23125\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_15234596_23125\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_15234596_23125\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_15234596_23125\Main.java:35: 错误: 非法字符: '#'
#include <iostream>
^
0_0_15234596_23125\Main.java:36: 错误: 非法字符: '#'
#include <string>
^
0_0_15234596_23125\Main.java:38: 错误: 需要class, interface或enum
int main()
^
0_0_15234596_23125\Main.java:41: 错误: 需要class, interface或enum
int p,d,n,x,i,sum;
^
0_0_15234596_23125\Main.java:42: 错误: 需要class, interface或enum
cin >> p;
^
0_0_15234596_23125\Main.java:43: 错误: 需要class, interface或enum
while(p--)
^
0_0_15234596_23125\Main.java:46: 错误: 需要class, interface或enum
(cin >> d).get();
^
0_0_15234596_23125\Main.java:47: 错误: 需要class, interface或enum
getline(cin,a);
^
0_0_15234596_23125\Main.java:48: 错误: 需要class, interface或enum
cin >> n;
^
0_0_15234596_23125\Main.java:49: 错误: 需要class, interface或enum
cout << d << ' ';
^
0_0_15234596_23125\Main.java:50: 错误: 需要class, interface或enum
for(i = 0; i < n ; ++i)
^
0_0_15234596_23125\Main.java:50: 错误: 需要class, interface或enum
for(i = 0; i < n ; ++i)
^
0_0_15234596_23125\Main.java:50: 错误: 需要class, interface或enum
for(i = 0; i < n ; ++i)
^
0_0_15234596_23125\Main.java:53: 错误: 需要class, interface或enum
sum = sum + x;
^
0_0_15234596_23125\Main.java:54: 错误: 需要class, interface或enum
if(sum < 0)
^
0_0_15234596_23125\Main.java:56: 错误: 需要class, interface或enum
else if(sum >= a.length())
^
0_0_15234596_23125\Main.java:58: 错误: 需要class, interface或enum
cout << a[sum];
^
0_0_15234596_23125\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_15234596_23125\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_15234596_23125\Main.java:63: 错误: 需要class, interface或enum
}
^
40 个错误
|