friends.cpp: In function ‘void friends(int*, int, int*, int*)’:
friends.cpp:9:28: error: return-statement with a value, in function returning 'void' [-fpermissive]
return ((X[1]-1)*2+Y[1])^tmp;
^
grader_friends.c: In function ‘int main()’:
grader_friends.c:46:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
grader_friends.c:52:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&__listn__[i]);
^
grader_friends.c:53:68: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=__listn__[i];j++)scanf("%d%d",&__X__[i][j],&__Y__[i][j]);
^
grader_friends.c: At global scope:
grader_friends.c:18:12: warning: ‘__now__’ defined but not used [-Wunused-variable]
static int __now__;
^