/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:62:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for (int i=1;i<=m;++i) dp[x][i]=dp1[x][i]=t[id[l]][i];return;
         ^~~
/in/foo.cc:62:63: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
         for (int i=1;i<=m;++i) dp[x][i]=dp1[x][i]=t[id[l]][i];return;
                                                               ^~~~~~
/in/foo.cc:63:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     }int mid=l+r>>1;
              ~^~
/in/foo.cc: In function 'void modify(int, int, int, int)':
/in/foo.cc:69:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for (int i=1;i<=m;++i) dp[x][i]=dp1[x][i]=t[id[p]][i];return;
         ^~~
/in/foo.cc:69:63: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
         for (int i=1;i<=m;++i) dp[x][i]=dp1[x][i]=t[id[p]][i];return;
                                                               ^~~~~~
/in/foo.cc:70:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     }int mid=l+r>>1;
              ~^~
/in/foo.cc: In function 'void qr(int, int, int, int, int)':
/in/foo.cc:76:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=l+r>>1;
             ~^~
/in/foo.cc: In function 'void qr1(int, int, int, int, int)':
/in/foo.cc:82:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=l+r>>1;
             ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:106:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
             for (int j=1;j<=m;++j) t[p][j]=v[j];modify(1,1,n,in[p]);
             ^~~
/in/foo.cc:106:49: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
             for (int j=1;j<=m;++j) t[p][j]=v[j];modify(1,1,n,in[p]);
                                                 ^~~~~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥1003ms ≥204.0 KiB
#2 Time Exceeded ≥1000ms ≥212.0 KiB
#3 Time Exceeded ≥1002ms ≥220.0 KiB
#4 Time Exceeded ≥1001ms ≥204.0 KiB
#5 Time Exceeded ≥1002ms ≥212.0 KiB
#6 Time Exceeded ≥1001ms ≥204.0 KiB
#7 Time Exceeded ≥1001ms ≥220.0 KiB
#8 Time Exceeded ≥1000ms ≥204.0 KiB
#9 Time Exceeded ≥1001ms ≥212.0 KiB
#10 Time Exceeded ≥1001ms ≥204.0 KiB

信息

递交者
类型
递交
题目
P1171 采矿
语言
C++
递交时间
2021-01-02 17:15:35
评测时间
2021-01-02 17:15:35
评测机
分数
0
总耗时
≥10016ms
峰值内存
≥220.0 KiB