/ XmX /

记录详情

Accepted

foo.cc: In member function ‘void MaxHeap::backspace()’:
foo.cc:65:27: warning: unused variable ‘now’ [-Wunused-variable]
   65 |                 long long now=a[cnt].pos;
      |                           ^~~
foo.cc: In function ‘int main()’:
foo.cc:101:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
  101 |                 else printf("%d\n",a.a[a.heap[1]].val);
      |                              ~^    ~~~~~~~~~~~~~~~~~~
      |                               |                   |
      |                               int                 long long int
      |                              %lld
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 2ms 324.0 KiB
#3 Accepted 3ms 536.0 KiB
#4 Accepted 3ms 536.0 KiB
#5 Accepted 3ms 324.0 KiB

信息

递交者
类型
递交
题目
P1011 [YT001C]高橋さんは野菜を作る
语言
C++
递交时间
2024-08-21 19:15:59
评测时间
2024-08-21 19:19:18
评测机
分数
100
总耗时
15ms
峰值内存
536.0 KiB