0_0_36815773_21283.cpp: In function 'int main()':
0_0_36815773_21283.cpp:5:16: error: 'n' was not declared in this scope
while(cin>>n)
^
0_0_36815773_21283.cpp:9:14: error: 'start1' was not declared in this scope
cin>>start1[i]>>end1[i];
^
0_0_36815773_21283.cpp:9:25: error: 'end1' was not declared in this scope
cin>>start1[i]>>end1[i];
^
0_0_36815773_21283.cpp:14:14: error: 'end1' was not declared in this scope
if(end1[i]>end1[j])
^
0_0_36815773_21283.cpp:17:18: error: 'start1' was not declared in this scope
swap(start1[i],start1[j]);
^
0_0_36815773_21283.cpp:20:13: error: 'end1' was not declared in this scope
int tim=end1-start1;
^
0_0_36815773_21283.cpp:20:18: error: 'start1' was not declared in this scope
int tim=end1-start1;
^
0_0_36815773_21283.cpp:21:19: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
int edtp=end[1];
^
0_0_36815773_21283.cpp:27:26: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
tim=tim+end[i]-start[1];
^
0_0_36815773_21283.cpp:27:28: error: 'start' was not declared in this scope
tim=tim+end[i]-start[1];
^
|