/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void DFS(int)':
/in/foo.cc:12:37: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
  printf("%d ",a[now],mn[now],sz[now]);
                                     ^
/in/foo.cc:12:37: warning: too many arguments for format [-Wformat-extra-args]
/in/foo.cc: In function 'int main()':
/in/foo.cc:115:40: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
  for(int i=1;i<=n;i++) scanf("%d",&a[i]);
                                        ^
# 状态 耗时 内存占用
#1 Accepted 3ms 576.0 KiB
#2 Accepted 2ms 940.0 KiB
#3 Accepted 2ms 436.0 KiB
#4 Accepted 4ms 488.0 KiB
#5 Accepted 31ms 900.0 KiB
#6 Accepted 299ms 4.25 MiB
#7 Accepted 607ms 7.91 MiB
#8 Accepted 611ms 8.074 MiB
#9 Accepted 644ms 8.07 MiB
#10 Accepted 547ms 8.035 MiB

信息

递交者
类型
递交
题目
P2689 动态序列维护与查询
语言
C++
递交时间
2023-05-18 10:44:57
评测时间
2023-05-18 10:44:57
评测机
分数
100
总耗时
2756ms
峰值内存
8.074 MiB