/ 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 110ms 1.609 MiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 6ms 384.0 KiB
#5 Accepted 29ms 640.0 KiB
#6 Accepted 17ms 1.125 MiB
#7 Accepted 40ms 1.375 MiB
#8 Accepted 47ms 1.242 MiB
#9 Accepted 97ms 1.617 MiB
#10 Accepted 137ms 1.867 MiB

信息

递交者
类型
递交
题目
P1507 郁闷的出纳员
语言
C++
递交时间
2021-12-13 20:44:53
评测时间
2021-12-13 20:44:53
评测机
分数
100
总耗时
491ms
峰值内存
1.867 MiB