/ 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]
         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]
     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]
         scanf("\n%c %d", &op, &k);
         ~~~~~^~~~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 157ms 3.059 MiB
#2 Accepted 2ms 404.0 KiB
#3 Accepted 2ms 432.0 KiB
#4 Accepted 6ms 536.0 KiB
#5 Accepted 15ms 936.0 KiB
#6 Accepted 17ms 1.547 MiB
#7 Accepted 36ms 1.984 MiB
#8 Accepted 57ms 1.82 MiB
#9 Accepted 139ms 2.789 MiB
#10 Accepted 166ms 3.441 MiB

信息

递交者
类型
递交
题目
P1507 郁闷的出纳员
语言
C++
递交时间
2021-03-27 21:37:50
评测时间
2021-03-27 21:37:50
评测机
分数
100
总耗时
601ms
峰值内存
3.441 MiB