/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int query(int, int, int, int, int)':
/in/foo.cc:41:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int x=0;x<pi.size();x++) si+=num[lc[pi[x]]];
                ~^~~~~~~~~~
/in/foo.cc:42:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int x=0;x<pj.size();x++) sj+=num[lc[pj[x]]];
                ~^~~~~~~~~~
/in/foo.cc:46:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(int x=0;x<pi.size();x++) pi[x]=lc[pi[x]];
                   ~^~~~~~~~~~
/in/foo.cc:47:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(int x=0;x<pj.size();x++) pj[x]=lc[pj[x]];
                   ~^~~~~~~~~~
/in/foo.cc:52:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(int x=0;x<pi.size();x++) pi[x]=rc[pi[x]];
                   ~^~~~~~~~~~
/in/foo.cc:53:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(int x=0;x<pj.size();x++) pj[x]=rc[pj[x]];
                   ~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:88:12: warning: unused variable 'k' [-Wunused-variable]
    int i,j,k,t;
            ^
# 状态 耗时 内存占用
#1 Wrong Answer 19ms 23.316 MiB
#2 Wrong Answer 18ms 23.316 MiB
#3 Wrong Answer 18ms 23.344 MiB
#4 Wrong Answer 18ms 23.34 MiB
#5 Wrong Answer 18ms 23.285 MiB
#6 Wrong Answer 17ms 23.312 MiB
#7 Wrong Answer 18ms 23.27 MiB
#8 Wrong Answer 17ms 23.281 MiB
#9 Wrong Answer 18ms 23.371 MiB
#10 Wrong Answer 18ms 23.273 MiB

信息

递交者
类型
递交
题目
P2581 动态RKQ问题[2]
语言
C++
递交时间
2023-03-09 14:34:52
评测时间
2023-03-09 14:34:52
评测机
分数
0
总耗时
183ms
峰值内存
23.371 MiB