/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:76:13: warning: unused variable 'z' [-Wunused-variable]
   76 |   int e,x,y,z,n,m;
      |             ^
foo.cc: In function 'void build(long long int, long long int, long long int)':
foo.cc:34:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   34 |   scanf("%lld",&cnt[rt].num);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:77:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   77 |      scanf("%lld%lld",&n,&m);
      |      ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:81:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   81 |       scanf("%lld",&e);
      |       ~~~~~^~~~~~~~~~~
foo.cc:84:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   84 |        scanf("%lld%lld",&x,&y);
      |        ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:92:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   92 |        scanf("%lld%lld",&x,&y);
      |        ~~~~~^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Accepted 11ms 1.0 MiB
#3 Accepted 31ms 2.754 MiB
#4 Accepted 27ms 4.617 MiB
#5 Accepted 143ms 5.742 MiB
#6 Accepted 235ms 34.988 MiB
#7 Accepted 221ms 35.863 MiB
#8 Accepted 242ms 35.867 MiB
#9 Accepted 224ms 35.867 MiB
#10 Accepted 259ms 35.867 MiB

信息

递交者
类型
递交
题目
P1083 小白逛公园
语言
C++
递交时间
2022-01-21 10:44:10
评测时间
2022-01-21 10:44:10
评测机
分数
100
总耗时
1402ms
峰值内存
35.867 MiB