记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:6:10: warning: unused variable 'k' [-Wunused-variable]
    6 |  int n,i,k,j,g;
      |          ^
foo.cc:9:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    9 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:13:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   13 |   scanf("%d %lld",&g,&x);
      |   ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:15:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   15 |   scanf("%d",&s[j]);
      |   ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 768.0 KiB
#2 Accepted 2ms 768.0 KiB
#3 Accepted 2ms 768.0 KiB
#4 Accepted 14ms 768.0 KiB
#5 Accepted 16ms 768.0 KiB
#6 Accepted 14ms 896.0 KiB

信息

递交者
类型
递交
题目
P1307 D. 蚂蚁竞走I
语言
C++
递交时间
2021-12-23 22:36:58
评测时间
2021-12-23 22:36:58
评测机
分数
250
总耗时
53ms
峰值内存
896.0 KiB