/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void print(int)':
/in/foo.cc:7:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0; i<st[x].size(); i++)
                ~^~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:12:36: warning: iteration 50001 invokes undefined behavior [-Waggressive-loop-optimizations]
  for (int i=1; i<=50002; i++) mx[i]=100;
                               ~~~~~^~~~
/in/foo.cc:12:17: note: within this loop
  for (int i=1; i<=50002; i++) mx[i]=100;
                ~^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 22ms 2.285 MiB
#2 Accepted 3ms 2.418 MiB
#3 Accepted 2ms 1.953 MiB
#4 Accepted 2ms 1.949 MiB
#5 Accepted 3ms 1.953 MiB
#6 Accepted 2ms 1.949 MiB
#7 Accepted 4ms 1.953 MiB
#8 Accepted 6ms 2.012 MiB
#9 Accepted 4ms 1.961 MiB
#10 Accepted 13ms 1.953 MiB

信息

递交者
类型
递交
题目
P1287 确定的位置
语言
C++
递交时间
2019-06-04 22:30:20
评测时间
2019-06-04 22:30:20
评测机
分数
100
总耗时
66ms
峰值内存
2.418 MiB