/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:22:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%ld %ld",&n,&d);
 ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:26:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%ld ",&p[j]);
 ~~~~~^~~~~~~~~~~~~~
foo.cc:27:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%ld",&p[j]);
 ~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 296.0 KiB
#2 Accepted 1ms 296.0 KiB
#3 Accepted 3ms 688.0 KiB
#4 Accepted 28ms 4.547 MiB
#5 Accepted 28ms 4.547 MiB
#6 Accepted 29ms 4.461 MiB
#7 Accepted 44ms 8.059 MiB
#8 Accepted 44ms 8.117 MiB
#9 Accepted 101ms 27.566 MiB
#10 Accepted 87ms 26.082 MiB

信息

递交者
类型
递交
题目
P1453 曼哈顿距离
语言
C++
递交时间
2021-07-21 20:52:22
评测时间
2021-07-21 20:52:22
评测机
分数
100
总耗时
370ms
峰值内存
27.566 MiB