记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(a=0.00){
           ^
/in/foo.cc:14:9: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
   num[i]=a;
   ~~~~~~^~
/in/foo.cc:7:15: note: within this loop
  for(int i=1;i<=10;i++){
              ~^~~~
/in/foo.cc:17:18: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
     for(int j=1;j<=n;j++){
                 ~^~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 372.0 KiB
#2 Wrong Answer 3ms 256.0 KiB
#3 Wrong Answer 2ms 372.0 KiB
#4 Wrong Answer 1ms 360.0 KiB
#5 Wrong Answer 4ms 364.0 KiB
#6 Wrong Answer 3ms 352.0 KiB
#7 Wrong Answer 3ms 372.0 KiB
#8 Wrong Answer 3ms 372.0 KiB
#9 Wrong Answer 3ms 256.0 KiB
#10 Wrong Answer 3ms 340.0 KiB

信息

递交者
类型
递交
题目
function
比赛
初二普及组模拟赛0914
语言
C++
递交时间
2018-09-15 09:18:42
评测时间
2018-09-15 09:18:42
评测机
分数
0
总耗时
32ms
峰值内存
372.0 KiB