/ Vijos /

记录详情

Accepted

foo.cc: In member function 'void Splay::splay(int)':
foo.cc:30:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   30 |         for (int f = fa[k]; f = fa[k]; rotate(k)) {
      |                             ~~^~~~~~~
foo.cc: In function 'int main()':
foo.cc:140:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  140 |     scanf("%d %d", &n, &mn);
      |     ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc:144:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  144 |         scanf("\n%c %d", &op, &k);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 102ms 2.121 MiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Accepted 6ms 384.0 KiB
#5 Accepted 14ms 640.0 KiB
#6 Accepted 17ms 1.125 MiB
#7 Accepted 33ms 1.367 MiB
#8 Accepted 59ms 1.242 MiB
#9 Accepted 105ms 1.867 MiB
#10 Accepted 121ms 2.367 MiB

信息

递交者
类型
递交
题目
P1507 郁闷的出纳员
语言
C++
递交时间
2022-04-19 21:00:20
评测时间
2022-04-19 21:01:01
评测机
分数
100
总耗时
468ms
峰值内存
2.367 MiB