/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:37:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%lld%lld",&n,&m);
  ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:41:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%lld%lld",&tree[i][1],&num);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:43:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%lld",&v),add(i,v);
    ~~~~~~~~~~~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 29ms 31.141 MiB
#2 Accepted 28ms 31.117 MiB
#3 Accepted 28ms 31.137 MiB
#4 Accepted 28ms 31.094 MiB
#5 Accepted 30ms 31.098 MiB
#6 Accepted 29ms 31.137 MiB
#7 Accepted 29ms 31.051 MiB
#8 Accepted 53ms 31.164 MiB
#9 Accepted 481ms 31.281 MiB
#10 Accepted 483ms 31.188 MiB

信息

递交者
类型
递交
题目
P1642 班长的任务
语言
C++
递交时间
2021-08-21 14:10:30
评测时间
2021-08-21 14:10:30
评测机
分数
100
总耗时
1222ms
峰值内存
31.281 MiB