<pre name="code" class="cpp">#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
const int MAXN=1e+4;
char strs[MAXN],strs1[MAXN];
int main()
{
FILE *fp1=NULL,*fp2=NULL;
fp1=fopen("F:\\TestFiles\\B-small-attempt2_2.out","r");
fp2=fopen("F:\\TestFiles\\B-small-attempt2.out","r");
if(!fp1||!fp2){
printf("error");
return 0;
}
int cnt=0;
while(fgets(strs,sizeof(strs),fp1)!=NULL&&fgets(strs1,sizeof(strs1),fp2)){
++cnt;
if(strcmp(strs,strs1)!=0){
puts(strs);puts(strs1);
puts("");
}
}
fclose(fp1);
fclose(fp2);
printf("Here %d",cnt);
return 0;
}