0_0_31906075_7834.cpp:8:2: error: stray '#' in program
int n;
^
0_0_31906075_7834.cpp:8:9: error: stray '#' in program
int n;
^
0_0_31906075_7834.cpp:9:2: error: stray '#' in program
int m=0;
^
0_0_31906075_7834.cpp:9:9: error: stray '#' in program
int m=0;
^
0_0_31906075_7834.cpp:10:2: error: stray '#' in program
while(cin>>n&&n>=0){
^
0_0_31906075_7834.cpp:10:9: error: stray '#' in program
while(cin>>n&&n>=0){
^
0_0_31906075_7834.cpp:11:2: error: stray '#' in program
int s=0;
^
0_0_31906075_7834.cpp:11:9: error: stray '#' in program
int s=0;
^
0_0_31906075_7834.cpp:11:16: error: stray '#' in program
int s=0;
^
0_0_31906075_7834.cpp:11:23: error: stray '#' in program
int s=0;
^
0_0_31906075_7834.cpp:11:30: error: stray '#' in program
int s=0;
^
0_0_31906075_7834.cpp:11:37: error: stray '#' in program
int s=0;
^
0_0_31906075_7834.cpp:12:2: error: stray '#' in program
m++;
^
0_0_31906075_7834.cpp:12:9: error: stray '#' in program
m++;
^
0_0_31906075_7834.cpp:12:16: error: stray '#' in program
m++;
^
0_0_31906075_7834.cpp:12:23: error: stray '#' in program
m++;
^
0_0_31906075_7834.cpp:12:30: error: stray '#' in program
m++;
^
0_0_31906075_7834.cpp:12:37: error: stray '#' in program
m++;
^
0_0_31906075_7834.cpp:13:2: error: stray '#' in program
while(n--){
^
0_0_31906075_7834.cpp:13:9: error: stray '#' in program
while(n--){
^
0_0_31906075_7834.cpp:13:16: error: stray '#' in program
while(n--){
^
0_0_31906075_7834.cpp:13:23: error: stray '#' in program
while(n--){
^
0_0_31906075_7834.cpp:14:2: error: stray '#' in program
int a;
^
0_0_31906075_7834.cpp:14:9: error: stray '#' in program
int a;
^
0_0_31906075_7834.cpp:14:16: error: stray '#' in program
int a;
^
0_0_31906075_7834.cpp:14:23: error: stray '#' in program
int a;
^
0_0_31906075_7834.cpp:14:30: error: stray '#' in program
int a;
^
0_0_31906075_7834.cpp:14:37: error: stray '#' in program
int a;
^
0_0_31906075_7834.cpp:14:44: error: stray '#' in program
int a;
^
0_0_31906075_7834.cpp:14:51: error: stray '#' in program
int a;
^
0_0_31906075_7834.cpp:15:2: error: stray '#' in program
cin>>a;
^
0_0_31906075_7834.cpp:15:9: error: stray '#' in program
cin>>a;
^
0_0_31906075_7834.cpp:15:16: error: stray '#' in program
cin>>a;
^
0_0_31906075_7834.cpp:15:23: error: stray '#' in program
cin>>a;
^
0_0_31906075_7834.cpp:15:30: error: stray '#' in program
cin>>a;
^
0_0_31906075_7834.cpp:15:37: error: stray '#' in program
cin>>a;
^
0_0_31906075_7834.cpp:16:2: error: stray '#' in program
s+=a;
^
0_0_31906075_7834.cpp:16:9: error: stray '#' in program
s+=a;
^
0_0_31906075_7834.cpp:16:16: error: stray '#' in program
s+=a;
^
0_0_31906075_7834.cpp:16:23: error: stray '#' in program
s+=a;
^
0_0_31906075_7834.cpp:16:30: error: stray '#' in program
s+=a;
^
0_0_31906075_7834.cpp:16:37: error: stray '#' in program
s+=a;
^
0_0_31906075_7834.cpp:17:2: error: stray '#' in program
}
^
0_0_31906075_7834.cpp:17:9: error: stray '#' in program
}
^
0_0_31906075_7834.cpp:17:16: error: stray '#' in program
}
^
0_0_31906075_7834.cpp:17:23: error: stray '#' in program
}
^
0_0_31906075_7834.cpp:18:2: error: stray '#' in program
cout<<"Sum of #"<<m<<" is ";
^
0_0_31906075_7834.cpp:18:9: error: stray '#' in program
cout<<"Sum of #"<<m<<" is ";
^
0_0_31906075_7834.cpp:18:16: error: stray '#' in program
cout<<"Sum of #"<<m<<" is ";
^
0_0_31906075_7834.cpp:18:23: error: stray '#' in program
cout<<"Sum of #"<<m<<" is ";
^
0_0_31906075_7834.cpp:19:2: error: stray '#' in program
cout<<s<<endl;
^
0_0_31906075_7834.cpp:19:9: error: stray '#' in program
cout<<s<<endl;
^
0_0_31906075_7834.cpp:19:16: error: stray '#' in program
cout<<s<<endl;
^
0_0_31906075_7834.cpp:19:23: error: stray '#' in program
cout<<s<<endl;
^
0_0_31906075_7834.cpp:20:2: error: stray '#' in program
}
^
0_0_31906075_7834.cpp:20:9: error: stray '#' in program
}
^
0_0_31906075_7834.cpp:21:2: error: stray '#' in program
return 0;
^
0_0_31906075_7834.cpp:21:9: error: stray '#' in program
return 0;
^
0_0_31906075_7834.cpp: In function 'int main()':
0_0_31906075_7834.cpp:8:3: error: lvalue required as unary '&' operand
int n;
^
0_0_31906075_7834.cpp:8:10: error: lvalue required as unary '&' operand
int n;
^
0_0_31906075_7834.cpp:9:3: error: lvalue required as unary '&' operand
int m=0;
^
0_0_31906075_7834.cpp:9:10: error: lvalue required as unary '&' operand
int m=0;
^
0_0_31906075_7834.cpp:10:3: error: lvalue required as unary '&' operand
while(cin>>n&&n>=0){
^
0_0_31906075_7834.cpp:10:10: error: lvalue required as unary '&' operand
while(cin>>n&&n>=0){
^
0_0_31906075_7834.cpp:11:3: error: lvalue required as unary '&' operand
int s=0;
^
0_0_31906075_7834.cpp:11:10: error: lvalue required as unary '&' operand
int s=0;
^
0_0_31906075_7834.cpp:11:17: error: lvalue required as unary '&' operand
int s=0;
^
0_0_31906075_7834.cpp:11:24: error: lvalue required as unary '&' operand
int s=0;
^
0_0_31906075_7834.cpp:11:31: error: lvalue required as unary '&' operand
int s=0;
^
0_0_31906075_7834.cpp:11:38: error: lvalue required as unary '&' operand
int s=0;
^
0_0_31906075_7834.cpp:12:3: error: lvalue required as unary '&' operand
m++;
^
0_0_31906075_7834.cpp:12:10: error: lvalue required as unary '&' operand
m++;
^
0_0_31906075_7834.cpp:12:17: error: lvalue required as unary '&' operand
m++;
^
0_0_31906075_7834.cpp:12:24: error: lvalue required as unary '&' operand
m++;
^
0_0_31906075_7834.cpp:12:31: error: lvalue required as unary '&' operand
m++;
^
0_0_31906075_7834.cpp:12:38: error: lvalue required as unary '&' operand
m++;
|