usaco第一题快疯了,USACO第一题总是WA,有大虾帮好看看么,全部分送上了/*ID:rectafl1LANG:CTASK:ride*/#include#include#includemain(){FILE *fin=fopen("ride.in","r");FILE *fout=fopen("ride.out","w");char a[6],b[6];long a1=1,b1=1;int n

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/25 08:58:46
usaco第一题快疯了,USACO第一题总是WA,有大虾帮好看看么,全部分送上了/*ID:rectafl1LANG:CTASK:ride*/#include#include#includemain()

usaco第一题快疯了,USACO第一题总是WA,有大虾帮好看看么,全部分送上了/*ID:rectafl1LANG:CTASK:ride*/#include#include#includemain(){FILE *fin=fopen("ride.in","r");FILE *fout=fopen("ride.out","w");char a[6],b[6];long a1=1,b1=1;int n
usaco第一题
快疯了,USACO第一题总是WA,有大虾帮好看看么,全部分送上了
/*
ID:rectafl1
LANG:C
TASK:ride
*/
#include
#include
#include
main()
{
FILE *fin=fopen("ride.in","r");
FILE *fout=fopen("ride.out","w");
char a[6],b[6];
long a1=1,b1=1;
int n1,n2,i;
fscanf(fin,"%s%s",a,b);
n1=strlen(a);
n2=strlen(b);
for(i=0;i

usaco第一题快疯了,USACO第一题总是WA,有大虾帮好看看么,全部分送上了/*ID:rectafl1LANG:CTASK:ride*/#include#include#includemain(){FILE *fin=fopen("ride.in","r");FILE *fout=fopen("ride.out","w");char a[6],b[6];long a1=1,b1=1;int n
弄好了:
#include
#include
#include
main()
{
FILE *fin=fopen("ride.in","r");
FILE *fout=fopen("ride.out","w");
char a[16],b[16];
long a1=1,b1=1;
int n1,n2,i;
fscanf(fin,"%s%s",a,b);
n1=strlen(a);
n2=strlen(b);
for(i=0;i