foo.c: In function 'main':
foo.c:70:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(i=nA-1)
      ^
foo.c:79:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(i=nB-1)
      ^
foo.c:90:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(b=nB){b=0;}
      ^
foo.c:65:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d %d",&n,&nA,&nB);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:72:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d",&zhouqiA[i]);
    ^~~~~~~~~~~~~~~~~~~~~~~
foo.c:75:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d ",&zhouqiA[i]);
   ^~~~~~~~~~~~~~~~~~~~~~~~
foo.c:81:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d",&zhouqiB[i]);
    ^~~~~~~~~~~~~~~~~~~~~~~
foo.c:84:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d ",&zhouqiB[i]);
   ^~~~~~~~~~~~~~~~~~~~~~~~
   
  
    [Hydro](https://hydro.ac)提供评测服务