运行 ID: 34048

Main.cc: In function ‘bool check(int, int)’:
Main.cc:12:8: warning: unused variable ‘minn’ [-Wunused-variable]
     ll minn=1e18;
        ^~~~
Main.cc: In function ‘int main()’:
Main.cc:76:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
         printf("%d ",X);
                       ^
Main.cc:88:13: error: expected ‘}’ at end of input
     return 0;
             ^
Main.cc:45:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&T);
     ~~~~~^~~~~~~~~
Main.cc:52:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d %d",&n,&k);
         ~~~~~^~~~~~~~~~~~~~~