Tinklelis

Taškai: 0

Compile: FAIL

tinklelis.cpp: In function ‘int main()’: tinklelis.cpp:3:11: error: ‘first’ was not declared in this scope #define x first ^ tinklelis.cpp:87:11: note: in expansion of macro ‘x’ if(!chx) x = x2 = a[0].x+1; ^ tinklelis.cpp:69:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &n); ^ tinklelis.cpp:71:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &a[i].x, &a[i].y); ^

nr.resulttimemessage