0_0_26174469_4222.cpp: In function 'int main(int, const char**)':
0_0_26174469_4222.cpp:7:6: error: expected unqualified-id before 'this'
int this = 0, max = 0;
^
0_0_26174469_4222.cpp:19:4: error: invalid use of 'this' in non-member function
this += p[j];
^
0_0_26174469_4222.cpp:20:7: error: invalid use of 'this' in non-member function
if(this > max)
^
0_0_26174469_4222.cpp:20:14: error: 'max' was not declared in this scope
if(this > max)
^
0_0_26174469_4222.cpp:22:11: error: invalid use of 'this' in non-member function
max = this;
^
0_0_26174469_4222.cpp:26:12: error: invalid use of 'this' in non-member function
else if(this < 0)
^
0_0_26174469_4222.cpp:27:5: error: invalid use of 'this' in non-member function
this = 0;
^
0_0_26174469_4222.cpp:30:22: error: 'max' was not declared in this scope
printf("%d %d %d\n",max,end-cnt+1,end);
^
|