/ Vijos /

记录详情

Accepted

foo.cc: In function 'void sym::build(long long int, long long int, long long int)':
foo.cc:23:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   23 |   int mid= l+r >>1;
      |            ~^~
foo.cc: In function 'void sym::change(long long int, long long int, long long int)':
foo.cc:36:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   36 |   int mid=l(p)+r(p)>>1;
      |               ^
foo.cc: In function 'sym::Node sym::query(long long int, long long int, long long int)':
foo.cc:48:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   48 |   int mid=l(p)+r(p)>>1;
      |               ^
foo.cc: In function 'void sym::main()':
foo.cc:67:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   67 |   scanf("%lld%lld",&n,&m);int k,x,y;
      |   ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:68:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   68 |   for(int i=1;i<=n;++i) scanf("%lld",&a[i]);
      |                         ~~~~~^~~~~~~~~~~~~~
foo.cc:71:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   71 |    scanf("%lld%lld%lld",&k,&x,&y);
      |    ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Accepted 21ms 1.375 MiB
#3 Accepted 41ms 3.992 MiB
#4 Accepted 39ms 7.152 MiB
#5 Accepted 162ms 8.492 MiB
#6 Accepted 391ms 53.617 MiB
#7 Accepted 569ms 56.117 MiB
#8 Accepted 346ms 55.992 MiB
#9 Accepted 471ms 55.992 MiB
#10 Accepted 287ms 56.121 MiB

信息

递交者
类型
递交
题目
P1083 小白逛公园
语言
C++
递交时间
2022-04-27 08:55:21
评测时间
2022-04-27 08:55:21
评测机
分数
100
总耗时
2336ms
峰值内存
56.121 MiB