/ 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 96ms 2.117 MiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 5ms 384.0 KiB
#5 Accepted 12ms 640.0 KiB
#6 Accepted 15ms 1.125 MiB
#7 Accepted 29ms 1.375 MiB
#8 Accepted 46ms 1.367 MiB
#9 Accepted 95ms 1.867 MiB
#10 Accepted 109ms 2.367 MiB

信息

递交者
类型
递交
题目
P1507 郁闷的出纳员
语言
C++
递交时间
2022-07-19 17:28:45
评测时间
2022-07-19 17:28:46
评测机
分数
100
总耗时
416ms
峰值内存
2.367 MiB