/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:81:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   81 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:84:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   84 |   scanf("%d",&s[i]);
      |   ~~~~~^~~~~~~~~~~~
foo.cc:87:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   87 |  scanf("%d",&m);
      |  ~~~~~^~~~~~~~~
foo.cc:92:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   92 |   scanf("%d",&op);
      |   ~~~~~^~~~~~~~~~
foo.cc:95:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   95 |    scanf("%d%d%lld",&x,&y,&s);
      |    ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:100:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  100 |    scanf("%d%d",&x,&y);
      |    ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 62ms 2.242 MiB
#2 Accepted 82ms 3.867 MiB
#3 Accepted 70ms 6.742 MiB
#4 Accepted 21ms 3.5 MiB
#5 Accepted 134ms 6.867 MiB
#6 Accepted 102ms 3.242 MiB
#7 Accepted 72ms 3.742 MiB
#8 Accepted 72ms 3.867 MiB
#9 Accepted 89ms 1.492 MiB
#10 Accepted 138ms 3.992 MiB

信息

递交者
类型
递交
题目
P1659 河蟹王国
语言
C++
递交时间
2022-04-07 11:04:45
评测时间
2022-04-07 11:04:45
评测机
分数
100
总耗时
844ms
峰值内存
6.867 MiB