记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:35:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=]
     printf("%d\n", strlen(s) - ans);
                    ~~~~~~~~~~~~~~~^
foo.cc:11:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &N);
  ~~~~~^~~~~~~~~~
foo.cc:12:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%s", s);
     ~~~~~^~~~~~~~~
foo.cc:20:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d", &N);
     ~~~~~^~~~~~~~~~
foo.cc:23:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%s", ch);
         ~~~~~^~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-08-09T23:44:45.636Z","handle":"2020-08-09T23:44:45.636Z","cache_start":"2020-08-09T23:44:45.645Z","read_cases":"2020-08-09T23:44:45.755Z","judge":"2020-08-09T23:44:45.756Z","done":"2020-08-09T23:44:46.044Z"}
# 状态 耗时 内存占用
#1 Accepted 0ms 128.0 KiB
#2 Accepted 15ms 12.105 MiB
#3 Accepted 0ms 128.0 KiB
#4 Accepted 0ms 256.0 KiB
#5 Accepted 0ms 128.0 KiB
#6 Accepted 7ms 6.129 MiB
#7 Accepted 9ms 7.273 MiB
#8 Accepted 10ms 8.48 MiB
#9 Accepted 13ms 9.758 MiB
#10 Accepted 13ms 10.895 MiB

信息

递交者
类型
递交
题目
2、小W理笔记
题目数据
下载
语言
C++
递交时间
2018-07-29 16:05:20
评测时间
2020-08-10 07:44:45
评测机
分数
100
总耗时
72ms
峰值内存
12.105 MiB