/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:33:16: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[2]' [-Wformat=]
   scanf("%s",&x);
              ~~^
foo.cc:28:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&k);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:33:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%s",&x);
   ~~~~~^~~~~~~~~
foo.cc:36:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d",&m);
    ~~~~~^~~~~~~~~
foo.cc:41:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d%d",&m,&p);
    ~~~~~^~~~~~~~~~~~~~
foo.cc:46:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d%d",&m,&p);
    ~~~~~^~~~~~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-24T18:06:25.287Z","handle":"2020-07-24T18:06:25.287Z","cache_start":"2020-07-24T18:06:25.293Z","read_cases":"2020-07-24T18:06:25.425Z","judge":"2020-07-24T18:06:25.425Z","done":"2020-07-24T18:06:26.109Z"}
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 25ms 384.0 KiB
#5 Accepted 25ms 256.0 KiB
#6 Accepted 25ms 256.0 KiB
#7 Accepted 25ms 256.0 KiB
#8 Accepted 25ms 256.0 KiB
#9 Accepted 25ms 256.0 KiB
#10 Accepted 25ms 256.0 KiB

信息

递交者
类型
递交
题目
P1320 清点人数
语言
C++
递交时间
2020-07-25 02:06:25
评测时间
2020-07-25 02:06:25
评测机
分数
100
总耗时
188ms
峰值内存
384.0 KiB