0_0_27610101_8960.cpp: In function 'int main()':
0_0_27610101_8960.cpp:27:10: error: 'N' was not declared in this scope
cin >> N;
^
0_0_27610101_8960.cpp: At global scope:
0_0_27610101_8960.cpp:41:3: error: 'maxSum' does not name a type
maxSum[i] = 0;
^
0_0_27610101_8960.cpp:43:3: error: 'maxBegin' does not name a type
maxBegin[i] = 0;
^
0_0_27610101_8960.cpp:45:3: error: 'maxEnd' does not name a type
maxEnd[i] = 0;
^
0_0_27610101_8960.cpp:49:3: error: expected unqualified-id before 'for'
for (int begin = 0; begin < N; begin++)
^
0_0_27610101_8960.cpp:49:31: error: 'N' was not declared in this scope
for (int begin = 0; begin < N; begin++)
^
0_0_27610101_8960.cpp:49:23: error: parse error in template argument list
for (int begin = 0; begin < N; begin++)
^
0_0_27610101_8960.cpp:49:23: error: 'begin<<expression error> >' does not name a type
0_0_27610101_8960.cpp:49:34: error: 'begin' does not name a type
for (int begin = 0; begin < N; begin++)
^
0_0_27610101_8960.cpp:53:4: error: expected unqualified-id before 'for'
for (int end = begin; end < N; end++)
^
0_0_27610101_8960.cpp:53:32: error: 'N' was not declared in this scope
for (int end = begin; end < N; end++)
^
0_0_27610101_8960.cpp:53:26: error: parse error in template argument list
for (int end = begin; end < N; end++)
^
0_0_27610101_8960.cpp:53:26: error: 'end<<expression error> >' does not name a type
0_0_27610101_8960.cpp:53:35: error: 'end' does not name a type
for (int end = begin; end < N; end++)
^
0_0_27610101_8960.cpp:57:5: error: expected unqualified-id before 'if'
if (tempSum>maxSum[i]){
^
0_0_27610101_8960.cpp:67:4: error: expected declaration before '}' token
}
^
|