Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:12: warning: unused variable 'a' [-Wunused-variable]
  int n,i,j,a,b,c;
            ^
/in/foo.cc:5:14: warning: unused variable 'b' [-Wunused-variable]
  int n,i,j,a,b,c;
              ^
/in/foo.cc:5:16: warning: unused variable 'c' [-Wunused-variable]
  int n,i,j,a,b,c;
                ^
/in/foo.cc:8:12: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
   for(j=1;j<=n;j++)
           ~^~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 360.0 KiB
#2 Wrong Answer 1ms 344.0 KiB

信息

递交者
类型
递交
题目
P1049 *组成的图形(1)
语言
C++
递交时间
2024-03-29 15:59:00
评测时间
2024-03-29 15:59:00
评测机
分数
0
总耗时
3ms
峰值内存
360.0 KiB