/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:40:30: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
   scanf("%lld%lld%s",&a,&b,&s);
                              ^
/in/foo.cc:40:30: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
/in/foo.cc:40:30: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[6]' [-Wformat=]
/in/foo.cc:34:8: warning: iteration 45000 invokes undefined behavior [-Waggressive-loop-optimizations]
  bcj[i]=i;
  ~~~~~~^~
/in/foo.cc:33:15: note: within this loop
  for(int i=0;i<=45000;i++)
              ~^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 896.0 KiB
#2 Runtime Error 1ms 768.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 892.0 KiB
#5 Accepted 3ms 768.0 KiB
#6 Accepted 2ms 768.0 KiB
#7 Wrong Answer 2ms 888.0 KiB
#8 Accepted 1ms 848.0 KiB
#9 Accepted 4ms 860.0 KiB
#10 Accepted 2ms 896.0 KiB

信息

递交者
类型
递交
题目
P1112 小胖的奇偶
语言
C++
递交时间
2017-06-02 18:15:25
评测时间
2017-06-02 18:15:25
评测机
分数
80
总耗时
24ms
峰值内存
896.0 KiB