/ Vijos /

记录详情

Accepted

foo.cc: In function ‘int main()’:
foo.cc:28:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__gnu_pbds::detail::bin_search_tree_set<node, __gnu_pbds::null_type, std::greater<node>, __gnu_pbds::detail::tree_traits<node, __gnu_pbds::null_type, std::greater<node>, __gnu_pbds::tree_order_statistics_node_update, __gnu_pbds::rb_tree_tag, std::allocator<char> >, std::allocator<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   28 |            printf(k>T.size()?"-1\n":"%d\n",T.find_by_order(k-1)->v-s);
      |                   ~^~~~~~~~~
foo.cc:15:18: warning: unused variable ‘q’ [-Wunused-variable]
   15 |    int n,m,k,s=0,q,ans=0;
      |                  ^
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 2ms 324.0 KiB
#2 Accepted 3ms 536.0 KiB
#3 Accepted 11ms 960.0 KiB
#4 Accepted 44ms 1.27 MiB
#5 Accepted 79ms 2.422 MiB
#6 Accepted 111ms 3.203 MiB
#7 Accepted 66ms 3.312 MiB
#8 Accepted 214ms 5.492 MiB
#9 Accepted 151ms 5.359 MiB
#10 Accepted 233ms 6.203 MiB

信息

递交者
类型
递交
题目
P1507 郁闷的出纳员
语言
C++
递交时间
2024-07-03 10:58:32
评测时间
2024-07-03 10:58:32
评测机
分数
100
总耗时
919ms
峰值内存
6.203 MiB