/ 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]
 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]
 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]
 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]
 for(int i = 1; i <= N; i++) scanf("%d", &o[i].p);
                             ~~~~~^~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 4.086 MiB
#2 Accepted 5ms 4.105 MiB
#3 Accepted 6ms 4.156 MiB
#4 Accepted 9ms 4.156 MiB
#5 Accepted 12ms 4.148 MiB
#6 Accepted 26ms 4.156 MiB
#7 Accepted 49ms 4.191 MiB
#8 Accepted 73ms 4.188 MiB
#9 Accepted 119ms 4.188 MiB
#10 Accepted 6ms 4.145 MiB

信息

递交者
类型
递交
题目
P1821 二叉查找树
语言
C++
递交时间
2021-07-21 09:16:08
评测时间
2021-07-21 09:16:08
评测机
分数
100
总耗时
314ms
峰值内存
4.191 MiB