杭电acm2034 #include using namespace std;void main(){int m,n;int i,j,v,t;int a[100],b[100];while(m||n){cin>>m>>n;memset(a,0,sizeof(a));memset(b,0,sizeof(b));v=0;for(i=0;i>a[i];}for(i=0;i

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/06 07:42:51

杭电acm2034 #include using namespace std;void main(){int m,n;int i,j,v,t;int a[100],b[100];while(m||n){cin>>m>>n;memset(a,0,sizeof(a));memset(b,0,sizeof(b));v=0;for(i=0;i>a[i];}for(i=0;i
杭电acm2034
#include
using namespace std;
void main()
{
int m,n;
int i,j,v,t;
int a[100],b[100];
while(m||n)
{
cin>>m>>n;
memset(a,0,sizeof(a));
memset(b,0,sizeof(b));
v=0;
for(i=0;i>a[i];
}
for(i=0;i

杭电acm2034 #include using namespace std;void main(){int m,n;int i,j,v,t;int a[100],b[100];while(m||n){cin>>m>>n;memset(a,0,sizeof(a));memset(b,0,sizeof(b));v=0;for(i=0;i>a[i];}for(i=0;i
每组数据输出最后有空格
你的代码没时间看了,
#include
int main( )
{
int n,m;
while(scanf("%d %d",&n,&m)!=EOF && (n+m))
{
int a[100],b[100],c[100];
int i,j,k=0,t;
for(i=0;i