/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void solve()':
/in/foo.cc:71:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid = l + r + 1 >> 1;
               ~~~~~~^~~
/in/foo.cc:91:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
   printf("%d\n", vp.size());
                           ^
/in/foo.cc:95:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
   printf("\n%d\n", vq.size());
                             ^
# 状态 耗时 内存占用
#1 Accepted 52ms 1.734 MiB
#2 Accepted 56ms 2.711 MiB
#3 Accepted 61ms 1.895 MiB
#4 Accepted 71ms 1.918 MiB
#5 Accepted 91ms 2.238 MiB
#6 Accepted 112ms 2.57 MiB
#7 Accepted 121ms 2.574 MiB
#8 Accepted 151ms 3.082 MiB
#9 Accepted 154ms 3.055 MiB
#10 Accepted 174ms 3.32 MiB

信息

递交者
类型
递交
题目
P2054 热闹的聚会与尴尬的聚会
语言
C++
递交时间
2019-05-07 21:44:56
评测时间
2019-05-07 21:44:56
评测机
分数
100
总耗时
1047ms
峰值内存
3.32 MiB