0_0_5975665_1941\Main.java:1: illegal character: \35
#include<cstdio>
^
0_0_5975665_1941\Main.java:2: illegal character: \35
#include<iostream>
^
0_0_5975665_1941\Main.java:5: class, interface, or enum expected
struct m{
^
0_0_5975665_1941\Main.java:7: class, interface, or enum expected
};
^
0_0_5975665_1941\Main.java:9: class, interface, or enum expected
int main(){
^
0_0_5975665_1941\Main.java:11: class, interface, or enum expected
struct m max;
^
0_0_5975665_1941\Main.java:12: class, interface, or enum expected
cin>>t;
^
0_0_5975665_1941\Main.java:13: class, interface, or enum expected
for(j=1;j<=t;j++){
^
0_0_5975665_1941\Main.java:13: class, interface, or enum expected
for(j=1;j<=t;j++){
^
0_0_5975665_1941\Main.java:13: class, interface, or enum expected
for(j=1;j<=t;j++){
^
0_0_5975665_1941\Main.java:14: class, interface, or enum expected
max.x=1;max.y=1;max.data=0;sum=0;
^
0_0_5975665_1941\Main.java:14: class, interface, or enum expected
max.x=1;max.y=1;max.data=0;sum=0;
^
0_0_5975665_1941\Main.java:14: class, interface, or enum expected
max.x=1;max.y=1;max.data=0;sum=0;
^
0_0_5975665_1941\Main.java:15: class, interface, or enum expected
cin>>n;
^
0_0_5975665_1941\Main.java:16: class, interface, or enum expected
for(i=1;i<=n;i++){
^
0_0_5975665_1941\Main.java:16: class, interface, or enum expected
for(i=1;i<=n;i++){
^
0_0_5975665_1941\Main.java:16: class, interface, or enum expected
for(i=1;i<=n;i++){
^
0_0_5975665_1941\Main.java:18: class, interface, or enum expected
sum+=x[i];
^
0_0_5975665_1941\Main.java:19: class, interface, or enum expected
if(sum>max.data){
^
0_0_5975665_1941\Main.java:21: class, interface, or enum expected
max.y=i;
^
0_0_5975665_1941\Main.java:22: class, interface, or enum expected
}
^
0_0_5975665_1941\Main.java:24: class, interface, or enum expected
for(i=1;i<n;i++){
^
0_0_5975665_1941\Main.java:24: class, interface, or enum expected
for(i=1;i<n;i++){
^
0_0_5975665_1941\Main.java:26: class, interface, or enum expected
if(sum>max.data){
^
0_0_5975665_1941\Main.java:28: class, interface, or enum expected
max.x=i;
^
0_0_5975665_1941\Main.java:29: class, interface, or enum expected
}
^
0_0_5975665_1941\Main.java:32: class, interface, or enum expected
printf("%d %d %d\n",max.data,max.x,max.y);
^
0_0_5975665_1941\Main.java:33: class, interface, or enum expected
if(j!=n)
^
0_0_5975665_1941\Main.java:35: class, interface, or enum expected
}
^
0_0_5975665_1941\Main.java:37: class, interface, or enum expected
}
^
30 errors
|