运行 ID: 29779

Main.cc: In function ‘int main()’:
Main.cc:44:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
  scanf("%d",&t);
             ~~^
Main.cc:47:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
   scanf("%d",&n);
              ~~^
Main.cc:56:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
    scanf("%d",&a[i]);
               ~~~~~^
Main.cc:61:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
    scanf("%d",&b[i]);
               ~~~~~^
Main.cc:65:31: error: ‘x’ was not declared in this scope
    for(int i=1;i