0_0_24726822_20700.cpp:9:9: error: redeclaration of 'int& note::nbsp'
double x;
^
0_0_24726822_20700.cpp:9:2: note: previous declaration 'int& note::nbsp'
double x;
^
0_0_24726822_20700.cpp:10:2: error: redeclaration of 'int& note::nbsp'
double y;
^
0_0_24726822_20700.cpp:9:2: note: previous declaration 'int& note::nbsp'
double x;
^
0_0_24726822_20700.cpp:10:9: error: redeclaration of 'int& note::nbsp'
double y;
^
0_0_24726822_20700.cpp:9:2: note: previous declaration 'int& note::nbsp'
double x;
^
0_0_24726822_20700.cpp:12:22: error: use of deleted function 'note::note()'
struct note a[1000010];
^
0_0_24726822_20700.cpp:7:8: note: 'note::note()' is implicitly deleted because the default definition would be ill-formed:
struct note
^
0_0_24726822_20700.cpp:7:8: error: uninitialized reference member in 'struct note'
0_0_24726822_20700.cpp:9:2: note: 'int& note::nbsp' should be initialized
double x;
^
0_0_24726822_20700.cpp: In function 'double mianji(note, note, note)':
0_0_24726822_20700.cpp:16:2: error: 'nbsp' was not declared in this scope
double s=p1.x*p2.y+p2.x*p3.y+p3.x*p1.y-p2.x*p1.y-p3.x*p2.y-p1.x*p3.y;
^
0_0_24726822_20700.cpp: In function 'int main()':
0_0_24726822_20700.cpp:21:2: error: 'nbsp' was not declared in this scope
int n;
^
0_0_24726822_20700.cpp:28:62: error: 'i' was not declared in this scope
scanf("%lf %lf",&a[i].x,&a[i].y);
^
|