circle_selection.cpp: In function 'int main()':
circle_selection.cpp:32:21: error: 'counter' was not declared in this scope
counter++;
^~~~~~~
circle_selection.cpp:32:21: note: suggested alternative: 'toupper'
counter++;
^~~~~~~
toupper
In file included from /usr/include/c++/7/cassert:44:0,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:33,
from circle_selection.cpp:2:
circle_selection.cpp:36:16: error: 'counter' was not declared in this scope
assert(counter<=60);
^
circle_selection.cpp:36:16: note: suggested alternative: 'toupper'
circle_selection.cpp:20:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
circle_selection.cpp:21:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d%d%d",&p[i].x,&p[i].y,&p[i].r);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~