/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:46:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   46 | scanf("%d%d", &N, &C);
      | ~~~~~^~~~~~~~~~~~~~~~
foo.cc:47:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   47 | for(int i = 1; i <= N; i++) scanf("%d", &o[i].d);
      |                             ~~~~~^~~~~~~~~~~~~~~
foo.cc:48:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   48 | for(int i = 1; i <= N; i++) scanf("%d", &o[i].v);
      |                             ~~~~~^~~~~~~~~~~~~~~
foo.cc:49:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   49 | for(int i = 1; i <= N; i++) scanf("%d", &o[i].p);
      |                             ~~~~~^~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 13ms 4.25 MiB
#2 Accepted 5ms 4.125 MiB
#3 Accepted 10ms 4.125 MiB
#4 Accepted 10ms 4.125 MiB
#5 Accepted 19ms 4.125 MiB
#6 Accepted 29ms 4.125 MiB
#7 Accepted 33ms 4.125 MiB
#8 Accepted 69ms 4.125 MiB
#9 Accepted 74ms 4.125 MiB
#10 Accepted 5ms 4.125 MiB

信息

递交者
类型
递交
题目
P1821 二叉查找树
语言
C++
递交时间
2021-12-29 20:48:45
评测时间
2021-12-29 20:48:45
评测机
分数
100
总耗时
272ms
峰值内存
4.25 MiB