/ WHOJ /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:72:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   72 |  scanf("%d", &n);
      |  ~~~~~^~~~~~~~~~
foo.cc:73:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   73 |  for(i = 1; i <= n; i++) scanf("%d", &a[i]);
      |                          ~~~~~^~~~~~~~~~~~~
foo.cc:76:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   76 |  scanf("%d", &Q);
      |  ~~~~~^~~~~~~~~~
foo.cc:78:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   78 |   scanf("%d", &x);
      |   ~~~~~^~~~~~~~~~
foo.cc: In function 'void dfs(int)':
foo.cc:23:35: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
   23 |  else if(f[v].x == -2) f[v].s = l & r;
      |                                 ~~^~~
foo.cc:23:35: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
正在同步测试数据,请稍后
Found 20 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 23ms 16.625 MiB
#2 Accepted 22ms 16.625 MiB
#3 Accepted 22ms 16.625 MiB
#4 Accepted 21ms 16.625 MiB
#5 Accepted 17ms 15.625 MiB
#6 Accepted 17ms 15.625 MiB
#7 Accepted 27ms 15.625 MiB
#8 Accepted 27ms 15.625 MiB
#9 Accepted 17ms 15.5 MiB
#10 Accepted 17ms 15.625 MiB
#11 Accepted 21ms 15.75 MiB
#12 Accepted 23ms 15.75 MiB
#13 Accepted 36ms 15.742 MiB
#14 Accepted 22ms 15.75 MiB
#15 Accepted 64ms 17.246 MiB
#16 Accepted 53ms 17.492 MiB
#17 Accepted 52ms 17.242 MiB
#18 Accepted 49ms 17.492 MiB
#19 Accepted 50ms 17.242 MiB
#20 Accepted 61ms 17.617 MiB

信息

递交者
类型
递交
题目
P1110 [CSP-J2020] 表达式
题目数据
下载
语言
C++
递交时间
2022-03-22 20:45:53
评测时间
2022-03-22 20:45:53
评测机
分数
100
总耗时
650ms
峰值内存
17.617 MiB