/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:41:5: warning: unused variable 'sum' [-Wunused-variable]
   41 | int sum = 0;
      |     ^~~
foo.cc:16:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   16 | scanf("%d%d", &p, &k);
      | ~~~~~^~~~~~~~~~~~~~~~
foo.cc:18:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   18 | scanf("%s", &s0[i][1]);
      | ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:25:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   25 | scanf("%d", &s);
      | ~~~~~^~~~~~~~~~
foo.cc:27:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   27 | scanf("%s", d[i]);
      | ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 512.0 KiB
#2 Accepted 3ms 908.0 KiB
#3 Accepted 20ms 2.25 MiB
#4 Accepted 20ms 2.25 MiB
#5 Accepted 24ms 2.25 MiB

信息

递交者
类型
递交
题目
P1118 统计单词个数
语言
C++
递交时间
2022-03-04 08:59:09
评测时间
2022-03-04 08:59:09
评测机
分数
100
总耗时
71ms
峰值内存
2.25 MiB