foo.cc: In function 'void write()':
foo.cc:75:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
if(d[L][0].s[i]<1000) printf("%ld",0);
^
foo.cc:76:43: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
if(d[L][0].s[i]<100) printf("%ld",0);
^
foo.cc:77:44: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
if(d[L][0].s[i]<10) printf("%ld",0);
^
foo.cc: In function 'void init()':
foo.cc:30:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&N,&L);
~~~~~^~~~~~~~~~~~~~~~
foo.cc:36:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&w);
~~~~~^~~~~~~~~~
foo.cc:44:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&w);
~~~~~^~~~~~~~~~
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-30T04:48:34.404Z","handle":"2020-05-30T04:48:34.404Z","cache_start":"2020-05-30T04:48:34.411Z","read_cases":"2020-05-30T04:48:35.016Z","judge":"2020-05-30T04:48:35.017Z","done":"2020-05-30T04:48:35.391Z"}