49 lines
718 B
C++
49 lines
718 B
C++
//weiwancheng
|
|
#include <iostream>
|
|
#include<cstdio>
|
|
#include<algorithm>
|
|
#include <cmath>
|
|
#include <cstring>
|
|
#include <string>
|
|
using namespace std;
|
|
const int N = 5e4 + 5;
|
|
int n;
|
|
int a[N];// ÿpartµÄºÄʱ
|
|
string s;
|
|
inline void initialise()
|
|
{
|
|
|
|
}
|
|
int main()
|
|
{
|
|
int t;
|
|
// scanf("%d",&t);
|
|
while(1)
|
|
{
|
|
scanf("%d",&n);
|
|
if(n==0)
|
|
{
|
|
break;
|
|
}
|
|
initialise();
|
|
for(int i=1;i<=n; i++)
|
|
{
|
|
scanf("%d",&a[i]);
|
|
}
|
|
while(1)
|
|
{
|
|
cin>>s;
|
|
if(n==0)
|
|
{
|
|
break;
|
|
}
|
|
initialise();
|
|
for(int i=1;i<=n; i++)
|
|
{
|
|
scanf("%d",&a[i]);
|
|
}
|
|
}
|
|
}
|
|
return 0;
|
|
}
|