/ Vijos /

记录详情

Accepted

foo.cc: In function 'Edge query(int, int, int, int, int)':
foo.cc:57:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid = l + r >> 1;
               ~~^~~
foo.cc: In function 'int main()':
foo.cc:70:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %d", &n, &m);
     ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:72:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%lld", &a[i]);
         ~~~~~^~~~~~~~~~~~~~~
foo.cc:78:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &op);
         ~~~~~^~~~~~~~~~~
foo.cc:81:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d %lld", &k, &v);
             ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:86:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d %d", &l, &r);
             ~~~~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 10ms 992.0 KiB
#3 Accepted 25ms 2.828 MiB
#4 Accepted 19ms 5.098 MiB
#5 Accepted 98ms 6.172 MiB
#6 Accepted 174ms 37.652 MiB
#7 Accepted 205ms 40.082 MiB
#8 Accepted 203ms 40.113 MiB
#9 Accepted 202ms 40.191 MiB
#10 Accepted 205ms 40.191 MiB

信息

递交者
类型
递交
题目
P1083 小白逛公园
语言
C++
递交时间
2021-08-03 13:25:23
评测时间
2021-08-03 13:25:23
评测机
分数
100
总耗时
1146ms
峰值内存
40.191 MiB