/in/foo.cc: In function 'int main()':
/in/foo.cc:29:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(nums[tmp.num]==0)
^~
/in/foo.cc:31:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
nums[tmp.num]++;
^~~~
/in/foo.cc:17:19: warning: unused variable 'curg' [-Wunused-variable]
int curt,curn,curg;
^~~~
/in/foo.cc:18:9: warning: unused variable 'last' [-Wunused-variable]
int last=0;
^~~~
/in/foo.cc:20:9: warning: unused variable 'it' [-Wunused-variable]
int it;
^~