/ Vijos /

记录详情

Time Exceeded

/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 2ms 372.0 KiB
#2 Accepted 1ms 424.0 KiB
#3 Accepted 1ms 364.0 KiB
#4 Accepted 2ms 508.0 KiB
#5 Accepted 24ms 908.0 KiB
#6 Accepted 208ms 4.266 MiB
#7 Accepted 467ms 7.914 MiB
#8 Time Exceeded ≥500ms ≥7.973 MiB
#9 Time Exceeded ≥500ms ≥7.914 MiB
#10 Accepted 495ms 8.027 MiB

信息

递交者
类型
递交
题目
P2689 动态序列维护与查询
语言
C++
递交时间
2023-05-18 10:43:36
评测时间
2023-05-18 10:43:36
评测机
分数
80
总耗时
≥2205ms
峰值内存
≥8.027 MiB