/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:48:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       if(i>1) t=min(t,max(f[i-1][j][0]+A[i].x-A[i-1].x,A[i].t));
       ^~
/in/foo.cc:49:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    if(j<N) t=min(t,max(f[i][j+1][1]+A[j+1].x-A[i].x,A[i].t));
    ^~
/in/foo.cc:44:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    for(int l=N-1;l>0;l--)
    ^~~
/in/foo.cc:58:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
      int Ans=inf;
      ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 688.0 KiB
#2 Accepted 2ms 800.0 KiB
#3 Accepted 2ms 376.0 KiB
#4 Accepted 2ms 412.0 KiB
#5 Accepted 2ms 388.0 KiB
#6 Accepted 3ms 1.348 MiB
#7 Accepted 11ms 7.16 MiB
#8 Accepted 7ms 4.867 MiB
#9 Accepted 6ms 4.449 MiB
#10 Accepted 11ms 7.074 MiB

信息

递交者
类型
递交
题目
P2248 办证件
语言
C++
递交时间
2025-03-23 09:32:22
评测时间
2025-03-23 09:32:22
评测机
分数
100
总耗时
50ms
峰值内存
7.16 MiB